|
-
Nov 1st, 1999, 06:26 PM
#1
Thread Starter
New Member
Hi all,
i've created a small dll (in VC 6) with only one function :
__declspec(dllexport) void dcrp(int x) ;
and then i've declared it in a VB program :
Declare Sub dcrp Lib "crp2.dll" _
(ByVal x As Integer)
and when i call it i always get an error message " BAd Calling convention".
Please any clues ?
------------------
------------------------
Garouppa the unknown fish
------------------------
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
|