🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5570

Re: MsgWaitForMultipleObjects

#5570
From: Tales Aguiar
Date: Tue, 09 Aug 2005 13:23
39 lines
2359 bytes
    MsgWaitForMultipleObjects is used only when you are waiting an message
and an synchronizable object to be signaled.
    If you don't have synchronizable object to wait don't use
MsgWaitForMultipleObjects.

    Tales Aguiar.

"tinyabs" <nospam@me.com> wrote in message
news:42f8844e@newsgroups.borland.com...
>
> "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: <42f8aeb0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f705fd@newsgroups.borland.com> <42f78d85$4@newsgroups.borland.com> <42f8844e@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: "Tales Aguiar" <tqueiroz@engesis.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42f705fd@newsgroups.borland.com> <42f78d85$4@newsgroups.borland.com> <42f8844e@newsgroups.borland.com>
Subject: Re: MsgWaitForMultipleObjects
Date: Tue, 9 Aug 2005 10:23:48 -0300
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 201.29.240.240
Message-ID: <42f8aeb0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123593904 201.29.240.240 (9 Aug 2005 06:25:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail