Page 1 of 1

TTaskScheduler.ActiveTask varies from documentation

Posted: Sun May 30, 2004 9:19 am
by someguy
The TTaskScheduler.ActiveTask(xxxx) function does not return NIL as documented when no task exists with the specified name. Instead, it returns an invalid TTask. Accessing information on the returned object results in an ETaskError exception.

Could you please fix this asap as there is no other way to determine whether a named task already exists other than enumerating every task in the list.

Thanks