On 16 Oct 2010, at 14:23, "Uffe Kousgaard" <u...@routeware.dk> wrote:
> "Sven Barth" <pascaldra...@googlemail.com> wrote in > message >> >> TCriticalSection is a WinAPI struct if you include the unit Windows. Appart from unit ordering (which is a shaky way of reliably resolving things), you could always qualify the name with the unit prefix too: var cs: SyncObjs.TCriticalSection; This would universally work across Delphi and FPC and unit order would not matter. Sent from my iPhone_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal