I tried to do some 'DLLImport' on a DLL. The actual source code was written
in Visual C++. Unfortunately I can't get the VB.NET syntax right for this
function call. Can someone provide me with the correct VB.NET syntax?
----------------------------------------
#define S00X_ANTICOLL_A RRAY 64
int MSTX_EXPORT S00X_ReadC220(B OOL useconfig, BOOL changeconfig, BOOL
anticollision, double listeningtime, unsigned char *nbchips, unsigned char
chips[][S00X_ANTICOLL_A RRAY], unsigned char *cmdstatus);
<DllImport("Med ioSTX.dll")> _
Private Function S00X_ReadC220(B yVal useconfig As Boolean, ByVal
changeconfig As Boolean, ByVal anticollision As Boolean, ByVal listeningtime
As Double, ByRef nbchips As Char, ByRef chips()() As Char, ByRef cmdStatus
As Char) As Integer
End Function
in Visual C++. Unfortunately I can't get the VB.NET syntax right for this
function call. Can someone provide me with the correct VB.NET syntax?
----------------------------------------
#define S00X_ANTICOLL_A RRAY 64
int MSTX_EXPORT S00X_ReadC220(B OOL useconfig, BOOL changeconfig, BOOL
anticollision, double listeningtime, unsigned char *nbchips, unsigned char
chips[][S00X_ANTICOLL_A RRAY], unsigned char *cmdstatus);
<DllImport("Med ioSTX.dll")> _
Private Function S00X_ReadC220(B yVal useconfig As Boolean, ByVal
changeconfig As Boolean, ByVal anticollision As Boolean, ByVal listeningtime
As Double, ByRef nbchips As Char, ByRef chips()() As Char, ByRef cmdStatus
As Char) As Integer
End Function
Comment