|
-
Nov 9th, 1999, 04:38 AM
#1
Thread Starter
New Member
I am trying to use functions in a dll.
I declare them just as it states in microsoft documentation. The program compiles. but at runtime I get an error. #53 I believe file not found. I have tried locating the file in the same directory as my executable also in the Winnt\system32 directory also i have tried hard coding the path to the dll.
What am i doing wrong?????
the dll was i believe written in c and it is contains functions that can be used to control a special device.
[This message has been edited by berridge (edited 11-10-1999).]
-
Nov 9th, 1999, 12:27 PM
#2
Lively Member
I had the same problem with the Cards Dll file, the path/Filename I checked 100 times and were correct, tried using different methods of setting the path/Filename but to no avail.
I also would like to know what the solution is. Anybody
Thanks,
Steve.
-
Nov 9th, 1999, 01:55 PM
#3
New Member
I think what you are missing is to register your new dynamic link library (DLL).
You can find regsvr32.exe file in your \winnt\system32\ directory and you can register your dll like regsvr32 yourdll.dll
Or a bit easier you can just set reference to your DLL in VB IDE under Project menu (I think). Seach for your DLL there and mark it.
This way your DLL doesn't need to be even compiled.
hpet
-
Nov 9th, 1999, 03:26 PM
#4
Addicted Member
Hello there, your dll is it a dll like in ActiveX dll COM object??? if yes then hpet is right, you must register it, if not then you must tell me what kind of dll you are trying to use...
André
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
|