|
-
Jun 29th, 2000, 04:45 AM
#1
Thread Starter
Lively Member
I wrote some fast matrix handling functions in VC++ and built them as a *.DLL. When you delcare the function that links to the DLL in VB you have to specify a string constant indicating the DLL's path name.
When I distribute this program I want the DLL file to be in the application directory. How do you declare a function to a DLL with a variable path name?
I want something like this (note this does not work)
Declare Sub MyFunction Lib App.Path & "\MyFunc.dll" alias...
-
Jun 29th, 2000, 09:58 AM
#2
Addicted Member
I think that it might just be a problem with the DLL not being registered. I've never given the full path to a DLL file. It pulls that info from the registry once it is registered. Have the install auto-register the DLL. If you can't do that then you will have to register it using Regsvr32.exe.
Hope this helps.
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
|