|
-
Jun 14th, 2000, 06:59 AM
#1
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
-
Jun 14th, 2000, 07:12 AM
#2
Fanatic Member
yes its allowed
DocZaf
{;->
-
Jun 14th, 2000, 07:13 AM
#3
given that's it's allowed. does one access it the way i explained it in my post?
-
Jun 14th, 2000, 10:46 AM
#4
PowerPoster
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.
-
Jun 14th, 2000, 11:00 AM
#5
what about using a URL? like
http://www.myurl.com/url.dll
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|