At 11:28 11/08/03 +0200, you wrote: >Hi, > >to make things clear, how to check if a Win32 exe is currently running >as a NT service: >1.) Check if the SID (security ID) of the current process is "S-1-5-18", >i.e. the so called LOCALSYSTEM account. This changes if you configure >your service (in the services control panel) to run on a different >account.
In other words, the check doesn't work in the general case. An unreliable check is worse than none at all. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]