- Timestamp:
- Jul 30, 2001, 2:30:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/custombuild/initterm.cpp
r6413 r6414 71 71 APIRET rc; 72 72 ULONG version[2]; 73 static BOOL fInit = FALSE, fExit = FALSE; 73 74 74 75 /*-------------------------------------------------------------------------*/ … … 80 81 switch (ulFlag) { 81 82 case 0 : 83 { 82 84 /*******************************************************************/ 83 85 /* The C run-time environment initialization function must be */ … … 105 107 return 0UL; 106 108 107 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 109 char szErrName[CCHMAXPATH]; 110 rc = DosLoadModule(szErrName, sizeof(szErrName), "XXODIN32.DLL", &hModule); 111 if(rc != 0) { 112 return 0; 113 } 108 114 109 115 if(RegCreateKeyA(HKEY_LOCAL_MACHINE,"Software\\XXOdin32\\REGROOT_HKEY_ClassesRoot",&hKeyClassesRoot)!=ERROR_SUCCESS_W) { … … 175 181 SetCustomBuildName(NULL); 176 182 break; 183 } 184 177 185 case 1 : 186 { 178 187 inittermComdlg32(hModule, ulFlag); 179 188 inittermShell32(hModule, ulFlag); … … 186 195 inittermKernel32(hModule, ulFlag); 187 196 break; 197 } 188 198 189 199 default : … … 215 225 HMODULE hModule; 216 226 217 DosQueryModuleHandle(" OPWGSS50", &hModule);227 DosQueryModuleHandle("WGSS50", &hModule); 218 228 O32__DLL_InitTerm(hModule, 0); 219 DosQueryModuleHandle(" OPODIN32", &hModule);229 DosQueryModuleHandle("XXODIN32", &hModule); 220 230 return inittermKernel32(hModule, 0); 221 231 }
Note:
See TracChangeset
for help on using the changeset viewer.