I'm a newbie to LazarusI but have been using Delphi for 15 years.
I need to convert a Delphi app into a lazarus app so I can compile a 64 bit version.
The Delphi App has one form which is still a .dfm so LCL is not a defined compiler directive. But I have converted the units to Lazarus using the XDevToolkit
In the unit uses clauses the following has been inserted:
{$IFNDEF LCL}
Windows, Messages,
{$ELSE}
LclIntf, LMessages, LclType,
{$ENDIF}
The compiler tries to use windows.pas but produces a "Error Circular unit reference between types and Windows."
Windows has 'Types' in its unit clause and at first I couldn't understand why there would be a problem, until I found out that the compiler was trying to use types.pp which is part of the Lazarus LCL.
My question is how do I make the compiler use the Windows' Types.pas and not the Lazarus LCL Version.