Article View: borland.public.cppbuilder.nativeapi
Article #1142Re: IPC, using Application->OnMessage
From: Bob Gonder
Date: Sun, 28 Oct 2007 18:01
Date: Sun, 28 Oct 2007 18:01
24 lines
1725 bytes
1725 bytes
Marc wrote: >This is OK as the two processes will run on the same computer. >If not what alternative would you recommend? Using IP messaging ? Named Pipes are good if you need to send data. Otherwise Named Mutex or Event for simple signaling. See: CreateNamedPipe CreateEvent OpenEvent CreateMutex OpenMutex CreateSemaphore OpenSemaphore >I helped myself right now in looking if the Msg.message + Msg.time is >different before continuing... not very nice, but it helps. You might have 2 different messages, one for each process. Each process looks only for the other process' message, not it's own.
Technical Details
Message-ID:
<bni9i351dec9fe1amoaucsqrgbnk53p3au@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4724b19d$1@newsgroups.borland.com> <9ig9i3hr3qf15n249d5dllfuf2a46upfs8@4ax.com> <4724c890@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4f22b81ff465f675 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: IPC, using Application->OnMessage Date: Sun, 28 Oct 2007 11:01:26 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <bni9i351dec9fe1amoaucsqrgbnk53p3au@4ax.com> References: <4724b19d$1@newsgroups.borland.com> <9ig9i3hr3qf15n249d5dllfuf2a46upfs8@4ax.com> <4724c890@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.84.21 X-Trace: newsgroups.borland.com 1193594485 69.69.84.21 (28 Oct 2007 11:01:25 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail