
Copying a long array into a byte array and back
Xonix,
Quote:
>How can I copy an array of long (say 10) into array of byte (40) ?
>Can I use MoveMemory or CopyMemory and how ? Thanks
Yes, you can. CopyMemory is slightly faster.
You need to pass the first item in the array as the destination and source
arguments. Both must be passed ByRef.
If you get stuck, post what you have so far here and I'll see if I can help
further.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com