Changeset 5130 for trunk/src/riched32/initterm.cpp
- Timestamp:
- Feb 14, 2001, 12:41:04 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/riched32/initterm.cpp
r3993 r5130 1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:24 sandervl Exp $ */2 3 1 /* 4 2 * DLL entry point … … 37 35 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 38 36 #include <twain.h> 37 #include <initdll.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; … … 52 48 //****************************************************************************** 53 49 BOOL WINAPI LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 54 { 50 { 51 BOOL ret; 52 55 53 switch (fdwReason) 56 54 { … … 63 61 64 62 case DLL_PROCESS_DETACH: 65 _ctordtorTerm(); 66 return RICHED32_LibMain(hinstDLL, fdwReason, fImpLoad); 63 ret = RICHED32_LibMain(hinstDLL, fdwReason, fImpLoad); 64 __ctordtorTerm(); 65 return ret; 67 66 } 68 67 return FALSE; … … 91 90 switch (ulFlag) { 92 91 case 0 : 93 _ ctordtorInit();92 __ctordtorInit(); 94 93 95 94 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/
Note:
See TracChangeset
for help on using the changeset viewer.