copymemory bug ???
Posted: Thu Jul 07, 2016 10:09 am
on win 10 X64 pro with pure basic 5.42 LTS X86
this :
Each 8 the end of string is missing...
this :
Code: Select all
string.s="a"
For i=1 To 255
string=string+"a"
*mem=AllocateMemory(StringByteLength(string))
CopyMemory(@string,*mem,StringByteLength(string))
Debug MemorySize(*mem)
Debug PeekS(*mem)
FreeMemory(*mem)
Next