Code: Select all
int __stdcall MyFunc(char *buf, long length);Code: Select all
Declare Function MyFunc(ByVal buf as Long, ByVal len As Long) As LongCode: Select all
Dim buf(1023) as Byte ' 1024 element array
MyFunc VarPtr(buf(0)), 1024Code: Select all
int __stdcall MyFunc(char *buf, long length);Code: Select all
Declare Function MyFunc(ByVal buf as Long, ByVal len As Long) As LongCode: Select all
Dim buf(1023) as Byte ' 1024 element array
MyFunc VarPtr(buf(0)), 1024