I am using the following statement to load a dll in my code
HINSTANCE hDLL = LoadLibrary(LibName);
The library is being loaded and works as expected. My questions are
1. What will happen if I try to load the same library multiple times?
2. Is there a function call to check if the library is loaded to avoid multiple calls to LoadLibrary?