|
-
Feb 20th, 2008, 02:46 AM
#1
Thread Starter
New Member
how to convert dereference pointer in C code to VB code
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
-
Feb 25th, 2008, 12:51 AM
#2
Frenzied Member
Re: how to convert dereference pointer in C code to VB code
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
-
Feb 25th, 2008, 05:14 AM
#3
Thread Starter
New Member
Re: how to convert dereference pointer in C code to VB code
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|