Hi,
Actually I have faced a problem which is to convert dereference pointer in C code to VB code. The C code is like below:
byte addr, int npoints, long *path, int freq
Printable View
Hi,
Actually I have faced a problem which is to convert dereference pointer in C code to VB code. The C code is like below:
byte addr, int npoints, long *path, int freq
Dim addr as Byte, nPoints as integer, path as long, freq as int
I don't know what long is. Is it an integer or long?
Next time please post in the appropriate forum.
If this is a C# question: http://www.vbforums.com/forumdisplay.php?f=30
If this is a C or C++ question: http://www.vbforums.com/forumdisplay.php?f=9
If this is a VB.NET question: http://www.vbforums.com/forumdisplay.php?f=25
If this is a VB6- question: http://www.vbforums.com/forumdisplay.php?f=1
-Zach
so sorry that i post in wrong forum, but I want know more how to convert long *path in C to VB. Is it just dim path as long because the * is a dereference pointer in C , so I really want to know how to declare this in VB.
Thanks
PS: long is long integer