infratec thank you for the quick response... and hopefully continued support
I'm having trouble applying your code to my script. I think because I'm in a Callback the returned memory size is not being updated.
See the following Debug report:YEAH!!!
Image was returned during the first pass, but not during the other two. If the image is returned after only the first pass - its pixelated.
Same result is returned using: CatchImage(0, P1, P2) without your AppendMemory procedure.
Procedure.i AppendMemory(*Src, *Dest, Size.i)
Protected *New, OldSize.i
OldSize = MemorySize(*Dest)
*New = ReAllocateMemory(*Dest, OldSize + Size)
CopyMemory(*Src, *New + OldSize, Size)
Procedure RARCallback(msg, UserData, P1, P2)
#UCM_PROCESSDATA = 1
#RAR_CONTINUE = 1
*New = AppendMemory(P1, *Buffer, P2)
*Buffer = AllocateMemory(P2)
CatchImage(0, *New, MemorySize(*New))
Thank you again,