P
Patrick
I've search for hours on this problem and cannot find a solution
Heres the bit of code:
IntPtr pointer = getFrameDll(FrameNumber);
The pointer points to a byte[] array that represents a bitmap.
I do not know the length of the array and Marshal.SizeOf() returns 4 bytes
(32 bit integer)
for the size of the pointer.
Could someone please teach me how to get byte arrays from memory using
pointers?
Gratefully,
Patrick
Heres the bit of code:
IntPtr pointer = getFrameDll(FrameNumber);
The pointer points to a byte[] array that represents a bitmap.
I do not know the length of the array and Marshal.SizeOf() returns 4 bytes
(32 bit integer)
for the size of the pointer.
Could someone please teach me how to get byte arrays from memory using
pointers?
Gratefully,
Patrick