Article View: borland.public.cppbuilder.nativeapi
Article #14260Re: Application Service
From: Remy Lebeau (TeamB)
Date: Tue, 19 Aug 2003 16:57
Date: Tue, 19 Aug 2003 16:57
25 lines
1743 bytes
1743 bytes
"Willie" <Willie.nospam@nospam.pchome.com.tw> wrote in message
news:3f423159@newsgroups.borland.com...
> I can get the full path of an Application with
> "ExtractFilePath(Application->ExeName)".
> How can I get the full path of an Application Service?
The same way. A service is still an executable application like any other.
The only difference is that you need to prepend the 'Application' with the
'Forms' namespace, ie:
ExtractFilePath(Forms::Application->ExeName);
This is because a Service Application uses Svcmgr::TServiceApplication, not
Forms::TApplication.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID:
<3f42555f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f423159@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,102a147a82fd1b03 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-19 09:56:29 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f423159@newsgroups.borland.com> Subject: Re: Application Service Date: Tue, 19 Aug 2003 09:57:28 -0700 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f42555f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061311839 207.175.226.26 (19 Aug 2003 09:50:39 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail