[lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Graeme Geldenhuys
When I use code like this, Lazarus reports the above mentioned error when I compile. snip uses SyncObjs; ... var FCriticalSection: TCriticalSection; begin FCriticalSection := TCriticalSection.Create; snip Doing a Ctrl+left mouse click Lazarus takes me to the struct.inc file instead of

Re: [lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 11:18:22 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: When I use code like this, Lazarus reports the above mentioned error when I compile. snip uses SyncObjs; Are you sure, that this is your whole uses clause? ... var FCriticalSection: TCriticalSection;

Re: [lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Graeme Geldenhuys
Hi, Are you sure, that this is your whole uses clause? Nope, I left out a few, thinking it wasn't important... How do I fix this without having to put the unit name infront of the class name. Move 'SyncObjs' to the end of the uses clause. Ah, found the problem, thanks! I had the