Changeset 1475 for trunk/src/kernel32/winimagebase.cpp
- Timestamp:
- Oct 27, 1999, 12:35:42 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagebase.cpp
r978 r1475 1 /* $Id: winimagebase.cpp,v 1. 2 1999-09-18 17:47:10sandervl Exp $ */1 /* $Id: winimagebase.cpp,v 1.3 1999-10-27 10:35:42 sandervl Exp $ */ 2 2 3 3 /* … … 117 117 dllfile = OSLibDosOpen(filename, OSLIB_ACCESS_READONLY|OSLIB_ACCESS_SHAREDENYNONE); 118 118 if(dllfile == NULL) {//search in libpath for dll 119 syspath = getenv("WIN32LIBPATH"); 120 if(syspath) { 121 strcpy(modname, syspath); 122 if(modname[strlen(modname)-1] != '\\') { 123 strcat(modname, "\\"); 124 } 125 strcat(modname, filename); 126 strcpy(filename, modname); 127 } 119 strcpy(modname, kernel32Path); 120 strcat(modname, filename); 121 strcpy(filename, modname); 128 122 } 129 123 else OSLibDosClose(dllfile);
Note:
See TracChangeset
for help on using the changeset viewer.