LoadLibrary Question!
I have a dll to export some functions, first use LoadLibrary to load the dll,
Then use GetProcAddress to get the export functions.
My question is: When to use FreeLibrary? after the use of all the export functions?
If I FreeLibrary already, then I can't use the export functions, right?
And what's the side effect if I don't call FreeLibrary, will it lead memory leak?
Thanks for being patient to answer my questions!
I thought the code would do the right thing as I expected, but nothing happens, it's really awful!