[DUG] How to check if the application running as a windows service application?

Rohit Gupta rohit at cfl.co.nz
Wed Mar 7 13:17:45 NZDT 2007


Leigh,

The last and only time I did it, I used a pipe.  Bad mistake.  Its a pig 
of a thing and not robust enough for me.  :-(

Leigh Wanstead wrote:
> Hello there,
>
> How to check if the application running as a windows service application? I
> want to check in the application and decide if I should run my application
> as a stand alone application or windows service application.
>
> Thank you for your time to read my post and I look forward to hearing from
> you. ;-)
>
> Regards
> Leigh
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.net.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>   

-- 
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** 
*Tel*     +64 9 4892280
*Fax*    +64 9 4892290
*Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
 
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20070307/105b12cc/attachment.html


More information about the Delphi mailing list