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

Leigh Wanstead leighw at softtech.co.nz
Thu Mar 8 16:25:22 NZDT 2007


SignatureHi Rohit,

In the end, I gave up that idea. Just wrote a normal windows service
application. And everything is fine now. J

Regards
Leigh
www.smootharm.com
  -----Original Message-----
  From: delphi-bounces at ns3.123.net.nz
[mailto:delphi-bounces at ns3.123.net.nz]On Behalf Of Rohit Gupta
  Sent: Wednesday, 7 March 2007 1:18 p.m.
  To: NZ Borland Developers Group - Delphi List
  Subject: Re: [DUG] How to check if the application running as a windows
serviceapplication?


  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
  Web    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/20070308/f0272701/attachment.html


More information about the Delphi mailing list