[fpc-pascal] Re: Re: WinCE / Win32 compilation
Matt Emson
memson.lists at googlemail.com
Sat Oct 16 17:40:25 CEST 2010
On 16 Oct 2010, at 14:23, "Uffe Kousgaard" <uffe at routeware.dk> wrote:
> "Sven Barth" <pascaldragon at 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
More information about the fpc-pascal
mailing list