Article View: borland.public.cppbuilder.nativeapi
Article #7629Service termination
From: Tumurbaatar S.
Date: Tue, 18 Jan 2005 03:31
Date: Tue, 18 Jan 2005 03:31
5 lines
1167 bytes
1167 bytes
How to stop a service app from the its code? I.e. not in response of an external request, but a service stops itself. Also, currently all my service initialization code located inside OnStart event handler and all cleanup code in OnStop one. Can I use OnCreate/OnDestroy instead them?
Technical Details
Message-ID:
<41ec832f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5b91f6aac9d5e006,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tumurbaatar S." <nospam_tumur@magicnet.mn> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Service termination Date: Tue, 18 Jan 2005 11:31:55 +0800 Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 NNTP-Posting-Host: 202.131.2.6 Message-ID: <41ec832f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106019119 202.131.2.6 (17 Jan 2005 19:31:59 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail