Hi,
i created an idletask in following way-
InterfacePtr<TestIdleTask> test_task((TestIdleTask*)::CreateObject(kTestIdleTask,IID_ITestIdleTask));
if(test_task)
{
test_task->UninstallTask();
test_task->InstallTask(0);
}
its running properly, but issue is that it doesn't start instantly. its starts only after current running thread finishing. i.e i started the idle-task on before opening the document, and it starts running when documnt is fully opened. (i am doing some processing on documnt opening) and task is not able to run during this document opening process. how can I free the cycle for idle task?
please let me know if anyone faced such issues in past or have any idea about this?
Regards,
Harsh