Move(FSelection, FSelection, (FSelectionCount - Index - 1) * SizeOf(Pointer)) You might need to make adjustments in your code. If you increment pointers, be aware that the behavior of a 64-bit pointer might not be the same as the behavior of a 32-bit pointer.SizeOf(Pointer)=SizeOf(Integer/Cardinal/Longint) On the 64-bit Windows platform, a pointer is 8 bytes.On the 32-bit Windows platform, a pointer is 4 bytes.The size of all pointers has changed, as follows:.You should review pointer operations in your code base.