|
-
October 6th, 2008, 05:24 PM
#1
VarPtr in .net
Hello. I have a Pic conected by usb to a PC and I need to make a program in .net. The code in VB6 is something like that
MPUSBRead(myOutPipe, VarPtr(SendData(0)), 1, recievedlength, 100)
I need a pointer to a array of long as secont parameter, but I don't know how to replace the VarPtr in .net
I'm not properly a programmer so please post any kind of help.
Last edited by asdrojas; October 6th, 2008 at 05:29 PM.
-
October 8th, 2008, 12:26 AM
#2
Re: VarPtr in .net
vb doesn't have pointers. look into UNSAFE code samples
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
|