On 16 Oct 2010, at 14:23, "Uffe Kousgaard" wrote:
> "Sven Barth" 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
"Sven Barth" wrote in
message
>
> TCriticalSection is a WinAPI struct if you include the unit Windows.
OK, that explains. In Delphi the WinAPI struct is called
TRTLCriticalSection. So, no name clashing.
___
fpc-pascal maillist - fpc-pascal@lists.