Article View: borland.public.cppbuilder.nativeapi
Article #15379Re: Need help with windows messages
From: Remy Lebeau (TeamB)
Date: Tue, 08 Jul 2003 16:17
Date: Tue, 08 Jul 2003 16:17
17 lines
1778 bytes
1778 bytes
"Andrew Woodall" <woody@dvsgroup.com> wrote in message news:3f0a9de8$1@newsgroups.borland.com... > Hi, i'm writing a service to run independantly of my user > inteface. I know how to send simple windows messages > to each ther to allow the user interface to control the > service, but i'm not sure how I would get data to and > from them. Window messages is not a good way to send data to/from a service. You should use another form of IPC instead, such as using a named pipe, TCP/IP socket, or memory mapping. Or make your service into a COM server from which the UI program can instantiate a client instance of a COM object to communicate with. Gambit
Technical Details
Message-ID:
<3f0aed93$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f0a9de8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3f04f02a81246dff X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-08 09:33:41 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f0a9de8$1@newsgroups.borland.com> Subject: Re: Need help with windows messages Date: Tue, 8 Jul 2003 09:17:56 -0700 Lines: 19 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: <3f0aed93$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057680787 207.175.226.26 (8 Jul 2003 09:13:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail