I can set global search directories for headers and libraries in VC++ Tools->Options->Projects and Solutions.
But what about DLLs? Can I do this through VC++ itself which would be preferable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is not VC++ which will search for dlls but it is your application which will search for dlls. Here is how it works
Your application search for the dll in the following folder
system – system32 – windows – folder specified in path – application directory
If the dll is not found on any of these locations, it will raise an error.
To resolve this, you can always specify the exact path of dll in the application itself. Refer to this link http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx for further explanation.