
How to know if is the DLL released?
Quote:
> No, if both A and B are using the DLL, the reference count will be at
> least 2. When A frees the DLL, the reference count will be
> decremented by 1. Until the reference count reaches 0, Windows will
> not unload the DLL.
>> Hi,David Crow
>> If the A program calls the FreeLibrary(hModule) function,when the B
>> program is using the DLL.Then,Does the B program produce errors?
Hi,David Crow
if both A and B are using the DLL,A calls FreeLibrary(hModule),then,A
calls GetModuleHandle("somelibrary.dll") =?