Interface not supported error
Posted: Wed Apr 18, 2012 12:52 pm
Hello,
Trying to update an app from the old version of VCL Scheduling Agent to version 2.0.7.
We use code VERY similar to the sample TTaskWizard.pas.
In the TNewTaskWizard.GoForward procedure when we get to these lines:
Trigger.Details := TriggerDetails;
FTask.Triggers.UpdateTriggers;
The program errors with an "Interface Not Supported" message when we call the "FTask.Triggers.UpdateTriggers" line. After that error dialog the program quits.
I cannot see any difference in code between the sample and our program.
It does not matter what type of task we create, it always fails at the same spot.
Any ideas why the sample program works and ours would error?
Trying to update an app from the old version of VCL Scheduling Agent to version 2.0.7.
We use code VERY similar to the sample TTaskWizard.pas.
In the TNewTaskWizard.GoForward procedure when we get to these lines:
Trigger.Details := TriggerDetails;
FTask.Triggers.UpdateTriggers;
The program errors with an "Interface Not Supported" message when we call the "FTask.Triggers.UpdateTriggers" line. After that error dialog the program quits.
I cannot see any difference in code between the sample and our program.
It does not matter what type of task we create, it always fails at the same spot.
Any ideas why the sample program works and ours would error?