M
Maximilian Hofer
Hello NG,
I Have follow Declaration in my VB6 Code:
Declare Function EPS48_Receive Lib "bkeps48.dll" (ByVal RecvData As String,
ByVal MaxLength As Integer) As Integer
This is the Code where i call this Function:
Dim Length as Integer
Dim RecvData as String * 1021
Length = EPS48_Receive(RecvData, 1021)
Here I get a Value for RecvData. But when I use the same in VB.NET:
Declare Function EPS48_Receive Lib "bkeps48.dll" (ByVal RecvData As String,
ByVal MaxLength As Int16) As Int16
Dim RecvData As String
Dim Length As Int16
Length = bkeps48.EPS48_Receive(RecvData, 1021)
.... i get 'nothing' for RecvData.
What is wrang in my Code?
Thanks,
Max
I Have follow Declaration in my VB6 Code:
Declare Function EPS48_Receive Lib "bkeps48.dll" (ByVal RecvData As String,
ByVal MaxLength As Integer) As Integer
This is the Code where i call this Function:
Dim Length as Integer
Dim RecvData as String * 1021
Length = EPS48_Receive(RecvData, 1021)
Here I get a Value for RecvData. But when I use the same in VB.NET:
Declare Function EPS48_Receive Lib "bkeps48.dll" (ByVal RecvData As String,
ByVal MaxLength As Int16) As Int16
Dim RecvData As String
Dim Length As Int16
Length = bkeps48.EPS48_Receive(RecvData, 1021)
.... i get 'nothing' for RecvData.
What is wrang in my Code?
Thanks,
Max