Recent

Author Topic: Wrong results with Integer numbers math.  (Read 3611 times)

PascalDragon

  • Hero Member
  • *****
  • Posts: 6359
  • Compiler Developer
Re: Wrong results with Integer numbers math.
« Reply #15 on: January 07, 2021, 09:04:40 am »
How does FreePascal handle C-based platform APIs that use 64bit long?

When interfacing with C code it's suggested to use the types from the ctypes unit (in this case clong) as these are defined according to the platform (and for the Windows API it's of course suggested to use the appropriate types from the Windows unit ;) ).

 

TinyPortal © 2005-2018