API path

Chinavo

Member
Joined
Jul 16, 2008
Messages
16
Programming Experience
1-3
Hi

im working with an api (Blpapi.dll).

therefor i have the "Blpapi.dll" as a reference in my project.
When i want to run my application on a new computer, i have to copy
the dll too.

How can i set the path of the dll in vb.net? That i can put the dll to wherever i want and set the path of it in my application??

thx for tha help.

chinavo.
 
The order for searching the paths of references goes something like this...

C:/Windows/System32
C:/Windows/System
Installation folder.


Why do you want to put it anywhere else?
 
hmm can i include the dll to my application??

my program need that dll, if i do not copy it
to the computer i want to run the program
it says that the dll is missing.

chinavo.
 
You can package your .dll with your application, so long as it installs into the same directory as your executable your program will find it and it should work just fine.
 
Back
Top