By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,611 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,611 IT Pros & Developers. It's quick & easy.

Bad DLL Calling Convention

P: n/a
I'm trying to use a DLL, but when I try to run it from Visual Basic by
going to Run > Start I get a 'Bad DLL Calling Convention' error when I
try to access a function inside the DLL. If I compile the program to
an executable and run it everything works fine....that is I don't get
the 'Bad DLL Calling Convention' and the function works as it's
supposed to. Does anybody have any idea what is wrong. Thanks This
is the calling convention used in the DLL:

extern "C" __declspec( dllexport ).
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.