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