|
-
June 1st, 1999, 06:26 AM
#1
Help! Coding 32 bit Dll
We have written a Visual C 16 bit dll with our VB3 application.
As we are converting to 32 bit using VB5 we need to migrate the 16 bit
dll to 32 bit as well using Visual C++ 6.0. However, I wasn't able to
get it working. When calling the function from VB5 I always get the
message : DLL entry point not found for function_name in dll_file_name.
I tried writing from scratch using the VC++ 6.0 wizard to give me the
skeleton and then I coded our functions in it but I still got the same
message. Even calling the sample function generated by the wizard from
VB5 got the same result. I have no problem calling 32 bit dll for 3rd
party products. I am really lost.
Can any guru out there give me some clues? Much appreciated.
Please email me at the following address as well: [email protected].
Thanks.
-
June 1st, 1999, 12:52 PM
#2
Re: Help! Coding 32 bit Dll
things to check
1) exported names are case sensitive in 32bit Dlls
2) using Quickview on the DLL is the function listed in the export table?
3) Is the function listed in the def file
4) If the function is in a cpp file is it declared extern "C"
ex: extern "C" void Myfunction() this prevents name mangaling
HTH,
chris
-
June 1st, 1999, 02:54 PM
#3
Re: Help! Coding 32 bit Dll
Did you export your function?
John Cz
There are only 10 types of people in the world:
Those who understand binary and those who do not.
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
|