zambi
asked on
hmemcpy and images
I have a byte array that holds a jpg image.
I have a pointer to some memory i've allocated.
I need to move or copy this to the pointer.
i'm using vb 4.0 16bit
i've tried using hmemcpy but with no luck.
Is it possible if so how?
I have a pointer to some memory i've allocated.
I need to move or copy this to the pointer.
i'm using vb 4.0 16bit
i've tried using hmemcpy but with no luck.
Is it possible if so how?
replace kernel32 with kernel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" (pDest As Any,pSource As Any, ByVal dwLength As Long)