Changeset 5130 for trunk/src/wing32/initterm.cpp
- Timestamp:
- Feb 14, 2001, 12:41:04 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wing32/initterm.cpp
r3993 r5130 1 /* $Id: initterm.cpp,v 1.3 2000-08-11 10:56:27 sandervl Exp $ */2 3 1 /* 4 2 * DLL entry point … … 36 34 #include <odinlx.h> 37 35 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 36 #include <initdll.h> 38 37 #include "wing32impl.h" 39 38 40 39 extern "C" { 41 void CDECL _ctordtorInit( void );42 void CDECL _ctordtorTerm( void );43 44 40 //Win32 resource table (produced by wrc) 45 41 extern DWORD _Resource_PEResTab; … … 54 50 { 55 51 case DLL_PROCESS_ATTACH: 52 if(!InitWing32()) 53 return FALSE; 54 56 55 return TRUE; 57 56 … … 61 60 62 61 case DLL_PROCESS_DETACH: 63 _ ctordtorTerm();62 __ctordtorTerm(); 64 63 return TRUE; 65 64 } … … 90 89 case 0 : 91 90 { 92 _ctordtorInit();91 __ctordtorInit(); 93 92 94 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 95 96 if(!InitWing32()) 97 return 0UL; 93 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 98 94 99 95 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
Note:
See TracChangeset
for help on using the changeset viewer.