Article View: borland.public.cppbuilder.nativeapi
Article #1145Re: IPC, using Application->OnMessage
From: Remy Lebeau (TeamB)
Date: Mon, 29 Oct 2007 17:15
Date: Mon, 29 Oct 2007 17:15
28 lines
1850 bytes
1850 bytes
"Marc" <info@mawnet.com> wrote in message news:4724b19d$1@newsgroups.borland.com... > I use HWND_BROADCAST because in future the > sender and receiver will be in two separate processes. That does not necessarily mean that HWND_BROADCAST is the best choice. It would be better if the sender knew ahead of time the HWND that the receiver is actually using to receive messages with. > But when I create a second form, and place a TTimer component on it, > I receive the OutputDebugString twice. If I place two TTimer component > on it, I receive the OutputDebugString three times. What is your TTimer actually doing? > The second form is not event referenced in my first form. It doesn't have to be. > Curious enough this does not happen with a TButton component, > so it depends on the component I place on this second form. What component are you putting on the second form to reproduce the problem? Gambit
Technical Details
Message-ID:
<4726154f$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4724b19d$1@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4724b19d$1@newsgroups.borland.com> Subject: Re: IPC, using Application->OnMessage Date: Mon, 29 Oct 2007 10:15:04 -0700 Lines: 30 Organization: Lebeau Software 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; Response NNTP-Posting-Host: 207.178.157.90 Message-ID: <4726154f$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1193678159 207.178.157.90 (29 Oct 2007 10:15:59 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail