Posted: Sat Mar 22, 2008 11:57 pm
I can compile and install the service without problems but i'm not sure where to place my methods.
I tried it in line 41:
But if i start the service, the "Service Startup Dialog" doesn't disappear and the startup timed out after a while with the error 1053.
The same happen if i put the while loop into the int MainApp::OnRun().
I've also removed the SERVICE_INTERACTIVE_PROCESS in the MainApp::Install(void) method, reinstalled the service, without success.
Any idea what i'm doing wrong ?
thx,
Stefan
I tried it in line 41:
Code: Select all
...
// INIT THE REAL SERVICE HERE AND LET THE MAIN LOOP RUN
while(true)
{
wxSleep(2);
::wxBell();
}
...
The same happen if i put the while loop into the int MainApp::OnRun().
I've also removed the SERVICE_INTERACTIVE_PROCESS in the MainApp::Install(void) method, reinstalled the service, without success.
Any idea what i'm doing wrong ?
thx,
Stefan