Changeset 3995 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Aug 11, 2000, 8:42:55 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r3993 r3995 1 /* $Id: wprocess.cpp,v 1.8 6 2000-08-11 10:56:20sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.87 2000-08-11 18:42:55 sandervl Exp $ */ 2 2 3 3 /* … … 431 431 BOOL rc; 432 432 433 //SvL: Ignore FreeLibary for executable 434 if(WinExe && hinstance == WinExe->getInstanceHandle()) { 435 return TRUE; 436 } 437 433 438 winmod = Win32DllBase::findModule(hinstance); 434 439 if(winmod) { … … 698 703 * Endif 699 704 */ 705 if(WinExe) { 706 char szDllName[CCHMAXPATH]; 707 char *dot; 708 709 strcpy(szDllName, OSLibStripPath((char *)lpszLibFile)); 710 strupr(szDllName); 711 dot = strstr(szDllName, "."); 712 if(dot) 713 *dot = 0; 714 715 if(!strcmp(szDllName, WinExe->getModuleName())) { 716 return WinExe->getInstanceHandle(); 717 } 718 } 700 719 pModule = Win32DllBase::findModule((LPSTR)lpszLibFile); 701 720 if (pModule) … … 1052 1071 if(WinExe) { 1053 1072 if(WinExe->getCommandLineW()) 1054 return WinExe->getCommandLineW();1073 return WinExe->getCommandLineW(); 1055 1074 } 1056 1075 if(asciicmdline == NULL) //not used for converted exes 1057 asciicmdline = O32_GetCommandLine();1076 asciicmdline = O32_GetCommandLine(); 1058 1077 1059 1078 if(asciicmdline) {
Note:
See TracChangeset
for help on using the changeset viewer.