Demo code compile error
Posted: Wed Dec 23, 2009 10:46 pm
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... Anybody have any ideas?
...at the last line of the declaration of the PropertiesDlg function.[Error] Props.pas(225): Undeclared identifier: 'TaskScheduler'
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;