SC_HANDLE sch; sch = OpenSCManager(...); When I add the code above, first I get that SC_HANDLE is undefined. Fine, I just #included <winsvc.h>.
確定! 回上一頁