A
Andrew Falanga
Hi,
How would I do the following (doesn't work but shows what I want to
do)?
byte[] myByteArray = new byte[1024];
// fill the array with what I need
IntPtr pByteArray = new IntPtr(myByteArray);
I have to use some library functions that take IntPtr's. The data I
need is being prepared in the byte arrays. How do I get an IntPtr to
point to it?
Thanks,
Andy
How would I do the following (doesn't work but shows what I want to
do)?
byte[] myByteArray = new byte[1024];
// fill the array with what I need
IntPtr pByteArray = new IntPtr(myByteArray);
I have to use some library functions that take IntPtr's. The data I
need is being prepared in the byte arrays. How do I get an IntPtr to
point to it?
Thanks,
Andy