Link to home
Start Free TrialLog in
Avatar of pentomino
pentomino

asked on

Detecting a missing DLL

I am using VC++ 6.0. How can I determine if a required DLL is missing from with the app that
uses the DLL ?

TIA
Avatar of jkr
jkr
Flag of Germany image

Go to www.dependencywalker.com and get that tool. If a DLL is missing, it'll report it....
BTW, it ships with VC6 as 'depends.exe'...
Avatar of pentomino
pentomino

ASKER

I meant to ask how I can determine if it exists from WITHIN the application.
BTW I know the name of DLL.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You may also want to check out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcconSpecifyingDLLsForDelayLoading.asp

so that your app can get a chance to do the LoadLibrary test before it crashes.