windows.h

when i was trying to run this program from microsoft
https://docs.microsoft.com/en-us/windows/desktop/TaskSchd/time-trigger-example--c---

my compiler says:
...\dgeg.cpp `ITaskService' undeclared (first use this function)

does it about windows.h?
if it is the case how can I solve it?

thanks
on the page you've linked...

look at step 2. Create the ITaskService object. Follow the link to see the ITaskService page

in the requirements it tells you to include "taskschd.h"


Topic archived. No new replies allowed.