Changeset 8462 for trunk/src/kernel32/windlllx.cpp
- Timestamp:
- May 21, 2002, 4:42:40 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/windlllx.cpp
r8459 r8462 1 /* $Id: windlllx.cpp,v 1.2 4 2002-05-20 14:22:37sandervl Exp $ */1 /* $Id: windlllx.cpp,v 1.25 2002-05-21 14:42:40 sandervl Exp $ */ 2 2 3 3 /* … … 145 145 offset += modsize + 1; 146 146 } 147 #ifdef HACK_NEVER_UNLOAD_LX_DLLS 148 //HACK ALERT!! 149 //This makes sure the LX dll never gets unloaded. 150 //Necessary since unloading doesn't work due to dependencies on dlls 151 //with exitlist handlers. 152 windll->AddRef(); 153 #endif 147 154 return windll->getInstanceHandle(); 148 155 … … 195 202 Subsystem); 196 203 dprintf(("Fake PE header %x for dll %s", hinstance, getModuleName())); 197 198 //HACK ALERT!!199 //This makes sure the LX dll never gets unloaded.200 //Necessary since unloading doesn't work due to dependencies on dlls201 //with exitlist handlers.202 referenced++;203 204 } 204 205 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.