-
I'd like to use a DLL inside of my VB Project, but the dll won't be in the Windows System directory. Is this allowed? How would you do it?
for example given the link
Private Declare Function myFunction Lib "mydll.dll" Alias _
"myFunctionA" (args) As sometype
would i just put an absolute path for Lib as in
"c:\absolute\path\mydll.dll"?
Thanks
-
yes its allowed
DocZaf
{;->
-
given that's it's allowed. does one access it the way i explained it in my post?
-
Yes, you can write a full filepath there, but will it be better copy your dll into the system directory.
The all you need is the library file name regardless the file path.
Private Declare Function myFunction Lib "mydll.dll" Alias _
"myFunctionA" (args) As sometype
But, you only can create this type of library with VC++ and not VB.
-
what about using a URL? like
http://www.myurl.com/url.dll