Hello Kyley,

Thanks, but still not compiling:

program back4winXP;

uses
  Forms,
  dialogs,
  mainunit in 'mainunit.pas' {Mainform},
  b4winabt in 'b4winabt.pas' {b4winForm},
  regunit in 'regunit.pas' {RegForm},
  Password in 'password.pas' {PasswordDlg},
  mb in 'mb.pas',
  SortGrid in 'SortGrid.pas',
  Updater in '..\..\mylib\Updater.pas',
  VCLZip in '..\..\mylib\ZIP\VCLzip\VCLZip.pas',
  VCLUnZip in '..\..\mylib\ZIP\VCLzip\VCLUnZip.pas',
  Sshare in '..\..\Lib\Additional\Sshare.pas';
type
  TIdleHandler = class(TObject)
    procedure IdleHandler(Sender: TObject; var Done: Boolean); //[Error] 
back4winXP.dpr(18): Unsatisfied forward or external declaration: 
'TIdleHandler.IdleHandler'
  end;

{$R *.RES}

procedure IdleHandler(Sender: TObject; var Done: Boolean);
begin
  if mainform.ReadyForStealth then Mainform.StealthNow('');
  mainform.ReadyForStealth := false;
end;

begin
  Application.Initialize;
  Application.Title := 'Back4WinXP';
  Application.HelpFile := 'back4winxp.hlp';
  Application.ShowMainForm := False;
  Application.CreateForm(TMainform, Mainform);
  Application.OnIdle := IdleHandler;              //[Error] back4winXP.dpr(35): 
Incompatible types: method pointer and regular procedure
  Application.run;
end.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to