|
-
October 15th, 2010, 12:06 PM
#3
Re: Bad DLL calling convention when accessing my dll from VB
Read up on __stdcall and __cdecl. That is the probable reason for your error. One function is using a calling convention to load the parameters and the called functions is using the other calling convention -- outcome -- disaster.
You must make sure that both caller and called use the same calling convention.
Regards,
Paul McKenzie
Last edited by Paul McKenzie; October 15th, 2010 at 12:08 PM.
Tags for this Thread
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
|