Glenn Linderman wrote:
> But I think if you use Win32::API to call call PeekMessage with the
> PM_REMOVE set, that you may not get the repeated behavior... me thinks 
> the bug is inside DoEvents, somehow.... it just hit me... maybe the 
> PM_REMOVE constant is wrong?  (Pure speculation here, but something is 
> wrong, and it isn't obvious.)

no, the PM_REMOVE seems to be correct. I also tried to debug this one
really hard, to no avail.

> [...] This makes me think it might be some sort of reentrancy
> problem, or that I am very, very confused.  At this point, I'm open to 
> suggestions, and have given up on debugging that issue, but am avoiding 
> writing code that uses DoEvents until (1) I screw up my courage to dive 
> into debugging it having learned some new thing about Windows API (2) 
> someone else fixes it.

DoEvents is an important feature, and this bug should be solved. I've
read what Steve has found out (the flush thing) and I'm totally
puzzled. I will try to do some testing here to see if we can come up
with something.


cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;


Reply via email to