The problem is with cygrunsrv failing to initialize. Not even the first line of code is getting executed. Searching for StartServiceCtrlDispatcherA, I could find an other thread from last year, discussing the same problem: http://www.cygwin.com/ml/cygwin/2001-06/msg00099.html
What I tried at the end was sending log events to the eventlog jsut before the line appname = argv[0]; in main. Not even these events did show up in the eventlog, if the service could not be started. If the service can be started however, all eventlogentries did show up. BTW: executing cygrunsrv on the commandline works on all systems and the eventlog shows the expected entries. any guesses on why the cygwin.dll might hang on initialization the way it is used by cygrunsrv as discussed in the other thread ? Mit besten Gr�ssen, Kind regards, Patrick Hildenbrand -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/