.@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Paul Heinz
Sent: Wednesday, 3 August 2011 12:39 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Why does this hang?
Ross wrote:
> The Timer.OnExecute I mentioned being run inside the loop
> excludes some of t
Ross wrote:
> The Timer.OnExecute I mentioned being run inside the loop
> excludes some of the functions that are normally executed by
> the timer, as these functions can not execute while we are
> waiting on the thread.
>
> The timer cannot be idle. It's not just updating the UI but
> doi
z] On
Behalf Of Paul Heinz
Sent: Tuesday, 2 August 2011 4:04 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Why does this hang?
Hi Ross
> I can't remember now what problem I was having with
> Application.ProcessMessages but this code fixed it while I
> was
Hi Ross
> I can't remember now what problem I was having with
> Application.ProcessMessages but this code fixed it while I
> was testing, and had to find tune the message numbers. I
> failed to comment the code. I think it had something to do
> with other visible non-modal forms.
>
> I may
-boun...@delphi.org.nz] On
Behalf Of Paul Heinz
Sent: Monday, 1 August 2011 9:30 p.m.
To: edwa...@bigfoot.com; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Why does this hang?
Edward wrote:
> Not 100% sure, but I thought that your loop will not work if
> the message on top of the q
routine then hangs for a reason I'm sure one of you will know.
Any way to resolve this?
Cheers.
-Original Message-
From: Ross Levis [mailto:r...@stationplaylist.com]
Sent: Tuesday, 2 August 2011 1:54 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Why
rland Developers Group - Delphi List'
Subject: Re: [DUG] Why does this hang?
Not 100% sure, but I thought that your loop will not work if the message on
top of the queue is not falling into your range, and the message would
remain on the queue (due to 'NOREMOVE' flag), and will
ssage
ID range.
Edward
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 28 July 2011 11:17 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Why does this hang?
A little more info. I have MadEx
Edward wrote:
> Not 100% sure, but I thought that your loop will not work if
> the message on top of the queue is not falling into your
> range, and the message would remain on the queue (due to
> 'NOREMOVE' flag), and will be peeked everytime afterwards.
>
> Not sure which message MadExcept
to properly help we'd really need to have an understanding of what your wait
loop is waiting for, and how its waiting..
you are most likely causing a deadlock where the handle message is passing
it to something else that could be waiting for your wait to complete. The
handle message could be forci
ld well be outside of your
message ID range.
Edward
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 28 July 2011 11:17 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Why does this hang?
A
A little more info. I have MadExcept operating and it detected "The
application seems to be frozen."
77fa15ec ntdll.dll KiUserCallbackDispatcher
77e1567d user32.dllPeekMessageA
KiUserCallbackDispatcher is where it is hanging.
Fro
12 matches
Mail list logo