Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Detecting if DLL is available (http://www.programmingforums.org/showthread.php?t=12551)

cCj Feb 10th, 2007 10:30 AM

Detecting if DLL is available
 
Hi.
I don't know much about dynamic DLL loading but I'm using a library which DLL is loaded at start in a point that is unknown to me. I dont want to require users for having this library and only if there would be some way to determine if the DLL is installed in the windows OS I could skip the code that uses the DLL's interface.

Thank you, Im sure this isnt a big deal to check, just dont know where to start.

Klarre Feb 10th, 2007 11:28 AM

Begin by checking the functions LoadLibrary(...) and GetProcAddress(...) functions out.

cCj Feb 10th, 2007 3:10 PM

Thank you, this seem to be sufficent. :)


All times are GMT -5. The time now is 1:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC