![Embarassed :oops:](./images/smilies/icon_redface.gif)
I wrote a simple application, using Delphi 7 Personal and Scheduling Agent v1.0.5 (registered), and it works well.
But if the Task Scheduler service in Windows XP SP2 is disabled and stopped, the application does not start (the Demo of Scheduling Agent does not start either), and return the error "Task Scheduler service is not running".
I have made a modification in saTask.pas, procedure TTaskScheduler.SetActive:
begin
// if (Value) then -> old line
if (Value) and (StartScheduler) then // -> modification
Open
else
Close;
end;
With that modification, the application starts when the Task Scheduler service is disabled, so a custom error message can be shown if the user try to use the "Edit Task" function and the other functions of the application can be used.
My doubt is: this goes to cause some malfunction in Scheduling Agent?
Thank you in advanced!