I have an application which runs as service. The application does not has a window. How can I set a timer in the main program.
SetTimer needs a window. So I could create a class of CWnd which handles the timeout.
Is there an easier way to set a timer?