Article View: borland.public.cppbuilder.nativeapi
Article #5569Re: MsgWaitForMultipleObjects
From: tinyabs
Date: Tue, 09 Aug 2005 10:24
Date: Tue, 09 Aug 2005 10:24
27 lines
1839 bytes
1839 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:42f78d85$4@newsgroups.borland.com... > > "tinyabs" <nospam@me.com> wrote in message > news:42f705fd@newsgroups.borland.com... > >> I'm interested to know whether I can override the default message loop. > > That depends on whether you are using the VCL are not. If so, then no. > TApplication::Run() is required as it does things internally that you do > not > have access to. > > What EXACTLY do you want to accomplish? > >> I'm trying to use MsgWaitForMultipleObjects() in my application. > > What does that have to do with overriding the message loop? > > > Gambit > > I had a pipe client communicating with a service app. I'm redirecting pipe byte messages into the WndProc as WM events. Currently, I use PostMessage() and pipe->GetMessage() to redirect the pipe messages.
Technical Details
Message-ID:
<42f8844e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42f705fd@newsgroups.borland.com> <42f78d85$4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,57e5db66437558c1 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "tinyabs" <nospam@me.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42f705fd@newsgroups.borland.com> <42f78d85$4@newsgroups.borland.com> Subject: Re: MsgWaitForMultipleObjects Date: Tue, 9 Aug 2005 18:24:59 +0800 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 222.165.5.177 Message-ID: <42f8844e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1123583054 222.165.5.177 (9 Aug 2005 03:24:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail