I'm trying to compile this C sample (at the bottom of that page) using C++ console app project on VS2010 on a Windows 7 machine but it gives me undeclared identifier errors. I can't find definitions of ITaskSettings3
and IMaintenanceSettings
. You would think Microsoft will provide a code sample that compiles, hah :)
Any idea what includes am I missing?
EDIT: This is what I have in the properties for the project: