unit Unit1;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
{$IFNDEF FPC}
Windows, //[b]Whats the use of these Windows line here? <Im in Windows XP Delphi 7?> [/b]
{$ELSE}
LCLIntf, LCLType, LMessages,
{$ENDIF}
(Windows,)Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, CheckLst, ComCtrls;
//Many ERRORS come out without (Windows,) [before Messages,]
When Lazarus converter convert my Delphi project, the Windows clause was not included(Windows,) Messages, SysUtils,...,...,..;
Whats the meaning of this?
This errors without the (Windows,)
hTest := CreateFile(PChar( Format('%s\_x%d.tmp', [SharedPath, GetTickCount])),
GENERIC_READ or GENERIC_WRITE, 0, nil, CREATE_ALWAYS, FILE_FLAG_DELETE_ON_CLOSE, 0);
Does that mean that I could not compile it in MAC Lion OS?
thanks