Changeset 1192
- Timestamp:
 - Oct 8, 1999, 6:27:48 PM (26 years ago)
 - Location:
 - trunk/src/kernel32
 - Files:
 - 
      
- 2 edited
 
- 
          
  winimagepeldr.cpp (modified) (3 diffs)
 - 
          
  winimgres.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/kernel32/winimagepeldr.cpp
r1146 r1192 1 /* $Id: winimagepeldr.cpp,v 1. 4 1999-10-05 23:23:47 phallerExp $ */1 /* $Id: winimagepeldr.cpp,v 1.5 1999-10-08 16:27:48 sandervl Exp $ */ 2 2 3 3 /* … … 1018 1018 fout << "**********************************************************************" << endl; 1019 1019 WinDll = (Win32PeLdrDll *)Win32DllBase::findModule(pszCurModule); 1020 1020 1021 if(WinDll == NULL) 1021 1022 { //not found, so load it … … 1024 1025 APIRET rc; 1025 1026 char szModuleFailure[CCHMAXPATH] = ""; 1027 char szModuleName[CCHMAXPATH]; 1026 1028 ULONG hInstanceNewDll; 1027 1029 1028 rc = DosLoadModule(szModuleFailure, sizeof(szModuleFailure), pszCurModule, (HMODULE *)&hInstanceNewDll); 1030 strcpy(szModuleName, pszCurModule); 1031 char *dot = strchr(szModuleName, '.'); 1032 if(dot) { 1033 *dot = 0; 1034 } 1035 strcat(szModuleName, ".DLL"); 1036 rc = DosLoadModule(szModuleFailure, sizeof(szModuleFailure), szModuleName, (HMODULE *)&hInstanceNewDll); 1029 1037 if(rc) { 1030 1038 dprintf(("DosLoadModule returned %X for %s\n", rc, szModuleFailure));  - 
      
trunk/src/kernel32/winimgres.cpp
r1150 r1192 1 /* $Id: winimgres.cpp,v 1.2 1 1999-10-06 08:07:41 sandervl Exp $ */1 /* $Id: winimgres.cpp,v 1.22 1999-10-08 16:27:21 sandervl Exp $ */ 2 2 3 3 /* … … 265 265 if(pData == NULL) { 266 266 if(HIWORD(id)) { 267 dprintf(("Win32ImageBase::getPEResource : couldn't find resource %s (type %d, lang %d)", id, type, lang));267 dprintf(("Win32ImageBase::getPEResource %s: couldn't find resource %s (type %d, lang %d)", szModule, id, type, lang)); 268 268 } 269 else dprintf(("Win32ImageBase::getPEResource : couldn't find resource %d (type %d, lang %d)", id, type, lang));269 else dprintf(("Win32ImageBase::getPEResource %s: couldn't find resource %d (type %d, lang %d)", szModule, id, type, lang)); 270 270 return 0; 271 271 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  