svenne1742
Newbie level 1
Hi,
Has anyone of you tried to access the host software functions in Annapolis wcapi.dll (for their WildCard) from Visual Basic?
It is supposed to be used with VC/VC++ but using standard VB Declares its functions should be callable from VB:
Public Declare Function WC_Open Lib "c:\wcapi.dll" (ByVal device As Long, ByVal flags As Long) As Long
and then a simple function call:
WC_Status = WC_Open(0&, 0&)
Of course, I can't get this to work - "Bad DLL calling convention". Any ideas (besides doing it in C - you cant learn old dogs like me new tricks like that...)??
Thanx!
/S
Has anyone of you tried to access the host software functions in Annapolis wcapi.dll (for their WildCard) from Visual Basic?
It is supposed to be used with VC/VC++ but using standard VB Declares its functions should be callable from VB:
Public Declare Function WC_Open Lib "c:\wcapi.dll" (ByVal device As Long, ByVal flags As Long) As Long
and then a simple function call:
WC_Status = WC_Open(0&, 0&)
Of course, I can't get this to work - "Bad DLL calling convention". Any ideas (besides doing it in C - you cant learn old dogs like me new tricks like that...)??
Thanx!
/S