>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