FreeLibrary and AfxFreeLibrary
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, it's unmapped from the address space of the process.
In an MFC application, use AfxFreeLibrary instead of FreeLibrary
to unload an MFC 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?
See also
Create C/C++ DLLs in Visual Studio
FreeLibrary
AfxFreeLibrary
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor