Hi,
I have 1000+ records. This records contains pointer types. When records streamed on Win32 /Win64 has a different sizes. I want to use this records with win32/win64.
In Win32 Pointer size is 4, can be this size 8 bytes?
Or any other solutions?
type
ptr_rec1=^rec1;
rec1=record
i1:integer;
p1:Pointer;
end;
ptr_rec2=record
rec:ptr_rec1;
i:integer;
p2:Pointer;
end;
SizeOf(ptr_rec2); //Different sizes for Win32/Win64