[fpc-pascal] Windows unit and SyncObjs unit clash
graemeg.lists at gmail.com
Wed Mar 26 11:57:29 CET 2008
On 26/03/2008, Michael Van Canneyt <michael at freepascal.org> wrote:
> Yes, use fully qualified names.
That should work....
> For lower level stuff, you should use TRTLCriticalSection, never TCriticalSection.
> It has the advantage of being portable.
> I'm surprised you actually use the windows unit. That is Evil(tm).
The code in question is the tiOPF project which is shared with Delphi
& FPC users. They (Delphi users) are all out of luck with the
cross-platform abilities of FPC, so we have to use what both compilers
support. For Delphi, that would be the 'Windows' unit.
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-pascal