Page 1 of 1

Demo code compile error

Posted: Wed Dec 23, 2009 10:46 pm
by CarlDippel
I installed SchedAgent v.2.0.3.0 without errors on my Windows Vista 64 bit machile. Then I tried to compile the demo program with Delphi 5. I got this error...
[Error] Props.pas(225): Undeclared identifier: 'TaskScheduler'
...at the last line of the declaration of the PropertiesDlg function.

Code: Select all

function PropertiesDlg(const Task: TTaskItem): Boolean;
begin
  with TPropsDlg.Create(nil) do
  try
    FTask := Task;
    FTask.Activate;
    PanelXPSettings.Visible := not FTask.TaskScheduler.RunningVistaOrLater;
Anybody have any ideas?

Posted: Fri Dec 25, 2009 5:36 am
by isiticov
It is strange and I have no idea except to try to make a Build All on the project. May be this will help.

Posted: Sun Jan 03, 2010 2:56 pm
by CarlDippel
:( Well I built the entire project but it still won't work. Image