>From my reading of the Microsoft documentation, a service won't be terminated >no matter what it returns for a CTRL_LOGOFF_EVENT message. Does your >experience indicate otherwise? > CTRL_LOGOFF_EVENT is sent to every running application including services. Sergey Okhapkin, http://www.lexa.ru/sos Piscataway, NJ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com