Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing strings to DLL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588408
Message ID:
00589056
Views:
37
>Hi Sergey,
>
>Below is the DECLARE statement from the Visual Basic code.
>
>Declare Sub CESAVS Lib "CARDNet" Alias "CesAvs" (cardnumber As String, expdate As String, zipcode As String, address As String, commerror As String, transok As Integer, lrcerror As Integer, avscode As String, avsresp As String, tbatch As Integer, bfirst As Integer, blast As Integer, conffile As String)

this ought to work

Declare long CESAVS in CARDNet.dll ;
string cardnumber, ;
string expdate, ;
string zipcode, ;
string address, ;
string commerror, ;
long transok, ;
long lrcerror, ;
string avscode, ;
string avsresp, ;
long tbatch, ;
long bfirst, ;
long blast, ;
string conffile
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform