
call com object with byref byte parameters in vb.net
I want to call a com object (named DES_ATLLib) in vb.net as follows:
Dim d As New DES_ATLLib.descomClass()
Dim acct As String = "123456789012"
Dim pin As String = "1234"
Dim b As Byte = 4
Dim pad As string = "FF"
Dim result As String
all the params of DesCalc are byref bytes:
when i hover the mouse over d.DesCalc i get this:
public overridable overloads sub DesCalc(byref acct as byte, byref pin
as byte,byref b as byte,byref pad as byte,byref result as byte)
all these params are pointers to the actual values
how must i call this com object?
in other words, how must i pass the parameters?
thx