|
Post by scalion on Jun 12, 2018 9:35:26 GMT 1
Just for information : The MemCpy function does not work properly in certain case. I have not figured out why, but anyway, seemingly random values reign in the destination.
Use this procedure instead who work fine :
Proc MyMemCpy(Dst%, Src%, Size%) Naked Static Long i, j j = Src For i = Dst To Dst + Size - 1 Poke i, Peek(j) Inc j Next i EndProc More simply, you can use BMove, for which I have not had a problem for the moment. However, do not forget that source and destination are swapped against memcpy.
|
|