Preformatted text Preformatted textHey guys,
unfortunately, when i have the following line
writeln(sizeof(^Byte)); ---> prints 4
I have an x64 machine with Windows 10 64-bit
And yes, i changed it in the config-manager as well to x64 platform.
I tested this line in FPC(Pascal) and got correctly 8.
Pls help!
–Shpend
mh
(marc hoffman)
2
all depends on whether your binary is 32 or 64 bit.
and when is it 32/64 ??
I have a 64bit OS and changed the build-settings to x64?
What else can I do?
mh
(marc hoffman)
4
Hmm, curious, i can reproduce that ir prints the wrong value, even in 64bit…
Thanks, logged as bugs://77761
1 Like
ck
(Carlo Kok)
6
there’s a bug where it caches the wrong exe path. If you change the i386 to x86_64, reopen the project and run it it properly shows 8 instead of 4.
bugs://77761 got closed with status nochangereq.