not freeing dll after manual import; allows delay load
This was SVN commit r458.
This commit is contained in:
parent
f197601cbb
commit
a0a9276b21
@ -43,7 +43,7 @@ static int import_EnumDisplayDevices()
|
||||
{
|
||||
static HMODULE hUser32Dll = LoadLibrary("user32.dll");
|
||||
*(void**)&pEnumDisplayDevicesA = GetProcAddress(hUser32Dll, "EnumDisplayDevicesA");
|
||||
FreeLibrary(hUser32Dll);
|
||||
// FreeLibrary(hUser32Dll);
|
||||
// make sure the reference is released so BoundsChecker
|
||||
// doesn't complain. it won't actually be unloaded anyway -
|
||||
// there is at least one other reference.
|
||||
|
Loading…
Reference in New Issue
Block a user