Garouppa
Nov 1st, 1999, 05:26 PM
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
------------------------
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
------------------------