Changeset 21580 for trunk/src/peldr
- Timestamp:
 - Feb 27, 2011, 6:19:21 AM (15 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/peldr/pe.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/peldr/pe.cpp
r9625 r21580 261 261 #endif 262 262 263 rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN .DLL", &hmodPMWin);263 rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN", &hmodPMWin); 264 264 rc = DosQueryProcAddr(hmodPMWin, ORD_WIN32INITIALIZE, NULL, (PFN *)&MyWinInitialize); 265 265 rc = DosQueryProcAddr(hmodPMWin, ORD_WIN32TERMINATE, NULL, (PFN *)&MyWinTerminate); … … 279 279 280 280 errorMod[0] = 0; 281 rc = DosLoadModule(errorMod, sizeof(errorMod), "KERNEL32 .DLL", &hmodKernel32);281 rc = DosLoadModule(errorMod, sizeof(errorMod), "KERNEL32", &hmodKernel32); 282 282 if(rc) { 283 283 sprintf(fullpath, szNoKernel32Msg, rc, errorMod); … … 343 343 344 344 failerror: 345 rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN .DLL", &hmodPMWin);345 rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN", &hmodPMWin); 346 346 rc = DosQueryProcAddr(hmodPMWin, ORD_WIN32INITIALIZE, NULL, (PFN *)&MyWinInitialize); 347 347 rc = DosQueryProcAddr(hmodPMWin, ORD_WIN32TERMINATE, NULL, (PFN *)&MyWinTerminate);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  