Article View: borland.public.cppbuilder.nativeapi
Article #1144Re: IPC, using Application->OnMessage
From: Marc
Date: Mon, 29 Oct 2007 16:57
Date: Mon, 29 Oct 2007 16:57
38 lines
2100 bytes
2100 bytes
Bob Considering your last post about processes on different computers I started implementing a socket based IPC, using ICS. Thanks again for your valuable help :-) Rds Marc "Bob Gonder" <notbg@notmindspring.invalid> schrieb im Newsbeitrag news:bni9i351dec9fe1amoaucsqrgbnk53p3au@4ax.com... > 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:
<47261104$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!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> <bni9i351dec9fe1amoaucsqrgbnk53p3au@4ax.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 Reply-To: "Marc" <info@mawnet.com> From: "Marc" <info@mawnet.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4724b19d$1@newsgroups.borland.com> <9ig9i3hr3qf15n249d5dllfuf2a46upfs8@4ax.com> <4724c890@newsgroups.borland.com> <bni9i351dec9fe1amoaucsqrgbnk53p3au@4ax.com> Subject: Re: IPC, using Application->OnMessage Date: Mon, 29 Oct 2007 17:57:22 +0100 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 83.77.48.169 Message-ID: <47261104$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1193677060 83.77.48.169 (29 Oct 2007 09:57:40 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail