Export (0) Print
Expand All

FreeLibrary and AfxFreeLibrary

Visual Studio 6.0

http://msdn.microsoft.com/en-us/library/aa240996OverviewHow Do IFAQDetailsSample

Processes explicitly linking to a DLL call the FreeLibrary function when the DLL module is no longer needed. This function decrements the module's reference count and if the reference count is zero, unmaps it from the address space of the process.

MFC applications should use AfxFreeLibrary instead of FreeLibrary to unload an extension DLL. The interface (function prototype) for AfxFreeLibrary is the same as FreeLibrary.

What do you want to do?

What do you want to know more about?

Show:
© 2014 Microsoft