Delete DLL object after FreeLibrary
Sometimes dlls aren't unloaded until the process exits, but you shouldn't count on it. Delete the objects before calling FreeLibrary.
In general, I don't think you can free memory allocated in another DLL anyway without getting a page fault.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement