Serving the Quantitative Finance Community

 
User avatar
Argile
Topic Author
Posts: 0
Joined: February 24th, 2009, 3:57 pm

DLL not Found (in VB)

March 6th, 2009, 2:23 pm

Hi,I've C++ functions stocked in a DLLWhen I launch my Excel Application (where Visual Studio is not installed) , Visual Basic doesn't found the DLL... I don't understand why, because the adresse is good.It's because Visual Studio is missing? Or I have to do some "secret manipulation" ?Please, help me !Thank you
 
User avatar
untwigged
Posts: 2
Joined: January 14th, 2006, 3:21 pm

DLL not Found (in VB)

March 6th, 2009, 4:14 pm

Dependency walker will show you what is missingYou may need to run excel under 'Profile' mode to see exactly what is happening.Most likely the visual C++ redistributable libraries for the compiler you're using.
 
User avatar
dirtydroog
Posts: 0
Joined: July 12th, 2007, 6:32 pm

DLL not Found (in VB)

March 6th, 2009, 8:15 pm

Try copying the DLL into c:\windows\system32.There are certain places where Windows will look for your DLL if you don't specify a complete path in the Declare statement
 
User avatar
DominicConnor
Posts: 41
Joined: July 14th, 2002, 3:00 am

DLL not Found (in VB)

March 7th, 2009, 7:07 am

Go into Control Panel and Open the System AppletClick on the Advanced tabPress the Environment Variables tabEdit it carefully to include the directory that your DLL is in.That won't work....Well, it may work, but I don't guarantee it.As untwigged points out, there may be other DLLs that your DLL depends upon and they need to make it to your machine.You may want to look at the "distributable" file list that comes with your version of VC++
Last edited by DominicConnor on March 6th, 2009, 11:00 pm, edited 1 time in total.