|
From: Keith <li...@ke...> - 2004-07-07 17:01:37
|
Hi All, Great util, but Im having a problem getting it set up. Ive followed the instructions for integration method1, and launching the myApp.bat file will launch my App, which acts as a listener on a TCP port. Should my application block once this listener thread has been set up? If I do, I get an error starting the service (after a short while), as it stays in my main method and never exits. If I remove the infinite loop from the end, it falls straight through when starting the service, with a your service has started then stopped; some services automatically message from the OS. Any thoughts? Am I missing something that I should be doing to inform the wrapper that my service is up and running? When I block, the service is running, but you get the service did not respond in a timely fashion error dialog. Once this happens, its no longer running :-( If I dont block, it only lasts for a second. Thanks in advance! Keith. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |