Article View: borland.public.cppbuilder.nativeapi
Article #15720Re: How can I send command to TService??
From: Remy Lebeau (TeamB)
Date: Tue, 17 Jun 2003 04:44
Date: Tue, 17 Jun 2003 04:44
24 lines
2115 bytes
2115 bytes
"Emmanuel" <emmanuel@erphk.com> wrote in message news:3eee7934$1@newsgroups.borland.com... > Is there any General Communation method? There are many ways to communicate between processes - ActiveX/COM, RPC, named pipes, TCP/IP sockets, shared memory, etc. > for example,I hope to tell it to open a TForm Services aren't usually supposed to display UI elements to begin with, other then call MessageBox() with the MB_SERVICE_NOTIFICATION flag. That is because services do not normally run in the context of the user's visible desktop at all. Even if the service did display a UI dialog, it would be displayed within a non-visible desktop, and thus the user would never be able to ever see it let alone be able to dismiss it properly. Although it is technically possible from an API level to set up a service to display UI elements visually, it is quite a bit of extra coding and work to make it work correctly. Any UI elements that a service needs to display are usually best accomplished by simply displaying them from a separate non-service application on the service's behalf. Gambit
Technical Details
Message-ID:
<3eee9bb5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eed8c0f@newsgroups.borland.com> <3eee1b5a$1@newsgroups.borland.com> <3eee7934$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,62fea7c3183ba06f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-16 21:46:13 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eed8c0f@newsgroups.borland.com> <3eee1b5a$1@newsgroups.borland.com> <3eee7934$1@newsgroups.borland.com> Subject: Re: How can I send command to TService?? Date: Mon, 16 Jun 2003 21:44:11 -0700 Lines: 26 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.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3eee9bb5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1055824821 207.175.226.26 (16 Jun 2003 21:40:21 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail