Changeset 1410 for trunk/src/kernel32/initterm.cpp
- Timestamp:
- Oct 23, 1999, 2:34:48 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initterm.cpp
r1370 r1410 1 /* $Id: initterm.cpp,v 1.1 5 1999-10-20 08:09:04sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.16 1999-10-23 12:34:46 sandervl Exp $ */ 2 2 3 3 /* … … 39 39 #include <win32type.h> 40 40 #include <odinlx.h> 41 #include "oslibmisc.h" 41 42 42 43 /*-------------------------------------------------------------------*/ … … 63 64 ULONG flAllocMem = 0; 64 65 int loadNr = 0; 66 char kernel32Path[CCHMAXPATH] = ""; 65 67 66 68 /****************************************************************************/ … … 88 90 { 89 91 case 0 : 92 { 90 93 loadNr = globLoadNr++; 91 94 95 strcpy(kernel32Path, OSLibGetDllName(hModule)); 96 char *endofpath = strrchr(kernel32Path, '\\'); 97 *(endofpath+1) = 0; 92 98 dprintf(("kernel32 init\n")); 93 99 _ctordtorInit(); … … 120 126 PROFILE_LoadOdinIni(); 121 127 break; 128 } 122 129 case 1 : 123 130 UnregisterLxDll(hModule);
Note:
See TracChangeset
for help on using the changeset viewer.