T
ThunderMusic
Hi,
I need to use unmanaged arrays but I don't know how to use them.
How do I initialize it? I've seen Marshal.AllocHGlobal(int). is it the right
way of doing it?
How do I write in it? do I have to use Marshal.WriteByte and write what I
have to write byte by byte (what I need is an array of bytes). There must be
an easier way of doing it?
Thanks
ThunderMusic
I need to use unmanaged arrays but I don't know how to use them.
How do I initialize it? I've seen Marshal.AllocHGlobal(int). is it the right
way of doing it?
How do I write in it? do I have to use Marshal.WriteByte and write what I
have to write byte by byte (what I need is an array of bytes). There must be
an easier way of doing it?
Thanks
ThunderMusic