Changeset 3993 for trunk/src/dllentry/dllentry.cpp
- Timestamp:
- Aug 11, 2000, 12:56:27 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dllentry/dllentry.cpp
r2644 r3993 1 /* $Id: dllentry.cpp,v 1. 1 2000-02-05 01:49:48sandervl Exp $ */1 /* $Id: dllentry.cpp,v 1.2 2000-08-11 10:56:14 sandervl Exp $ */ 2 2 3 3 /* … … 44 44 extern DWORD _Resource_PEResTab; 45 45 } 46 47 static HMODULE dllHandle = 0; 48 46 49 //****************************************************************************** 47 50 //****************************************************************************** … … 84 87 85 88 switch (ulFlag) { 86 case 0 89 case 0: 87 90 _ctordtorInit(); 88 91 89 92 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 90 93 91 if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE) 94 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab); 95 if(dllHandle == 0) 92 96 return 0UL; 93 97 94 98 break; 95 case 1 : 96 UnregisterLxDll(hModule); 99 case 1: 100 if(dllHandle) { 101 UnregisterLxDll(dllHandle); 102 } 97 103 break; 98 default 104 default: 99 105 return 0UL; 100 106 }
Note:
See TracChangeset
for help on using the changeset viewer.