The Wayback Machine - https://web.archive.org/web/20170528054643/https://msdn.microsoft.com/en-us/library/h4ff11tc.aspx
FreeLibrary and AfxFreeLibrary

FreeLibrary and AfxFreeLibrary

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see FreeLibrary and AfxFreeLibrary on docs.microsoft.com. Processes that explicitly link 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.

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

DLLs in Visual C++
FreeLibrary
AfxFreeLibrary

Show:
© 2017 Microsoft
Morty Proxy This is a proxified and sanitized view of the page, visit original site.