-
In an API callback, the LIB argument is a String containing the name of the DLL you are using. VB looks for this DLL in the windows/system directory. Is there a way for me to tell VB to look in a directory relative to the project?
There is no way for me to know what Drive this project will be on so the only way for me to be sure that this works is for me to use a relative path to the DLL.
-
"Ani sone dardasim ......."
-
Y not go with the flow?
Hi gargamehl.
I don't have an answer to your question, but I'm just wondering why you don't want to put the DLL in the Windows/System directory where it belongs?:confused: It seems that you would save yourself a lot of trouble if you do so.:)
-
The reason is that I want this app to be non-intrusive. Etiquette dictates that I ask the user before I go an install anything on his computer (except of course in the issue of webpages but even then signatures give users the options to decide on if they trust content). The app is going to be packaged on a CD for distribution. I just want the app to launch at runtime without having the user to have to install anything (i've already but all the VB dependent dll's in the same directory).