HarishMinu
asked on
Task Scheduler API error
Hello Experts
I am getting an error " 0x80041318 : The task XML contains a value which is incorrectly formatted or out of range " while registering a task in RegisterTaskDefinition(..) method attached the code snippet.
Getting error when I used the code pTimeTrigger->put_S tartBounda ry( _bstr_t(wTime));
When I had code the time values like pTimeTrigger->put_S tartBounda ry( _bstr_t(L"2014-02-18T15:46 :00") ); error is not getting
Please advise how to use the time format
Thanks in advance.
I am getting an error " 0x80041318 : The task XML contains a value which is incorrectly formatted or out of range " while registering a task in RegisterTaskDefinition(..)
Getting error when I used the code pTimeTrigger->put_S
When I had code the time values like pTimeTrigger->put_S
Please advise how to use the time format
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.