Page 1 of 1
DLL not Found (in VB)
Posted: March 6th, 2009, 2:23 pm
by Argile
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
DLL not Found (in VB)
Posted: March 6th, 2009, 4:14 pm
by untwigged
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.
DLL not Found (in VB)
Posted: March 6th, 2009, 8:15 pm
by dirtydroog
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
DLL not Found (in VB)
Posted: March 7th, 2009, 7:07 am
by DominicConnor
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++