Link to home
Start Free TrialLog in
Avatar of zambi
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?
Avatar of MikeP090797
MikeP090797

Try this declare:
Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory"  (pDest As Any,pSource As Any, ByVal dwLength As Long)
replace kernel32 with kernel
ASKER CERTIFIED SOLUTION
Avatar of JiaH
JiaH

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial