[fpc-devel] CriticalSection functions differ from Delphi
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Aug 5 23:33:10 CEST 2016
On 05/08/16 23:22, Ondrej Pokorny wrote:
> CriticalSection function names differ from Delphi:
>
> Delphi - FPC
> InitializeCriticalSection <> InitCriticalSection
> EnterCriticalSection "=" EnterCriticalsection
> LeaveCriticalSection "=" LeaveCriticalsection
> DeleteCriticalSection <> DoneCriticalsection
>
> Is there any reason for it?
The "Delphi" names are the names of the Windows API calls. You can also
use them in FPC to call the Windows APIs. The FPC names are the names of
cross-platform functions that are supported on all platforms.
Jonas
More information about the fpc-devel
mailing list