Bug in Win32file WaitCommEvent ???

Bengt Richter bokr at oz.net
Fri Nov 22 07:53:48 EST 2002


On Thu, 21 Nov 2002 23:44:54 GMT, Mark Hammond <mhammond at skippinet.com.au> wrote:

>Grant Edwards wrote:
>
>> I've verefied that the above is correct. I wrote a C program that verifies
>> that the value pointed to by the pointer passed to WaitCommEvent() is
>> written to later: after the event happens.  
>
>:(
>
>So what do we do?  We can't break backward compatibility.  I guess we 
>may need a new function that manages a little 4-byte buffer for this value.
>
I don't have win32all, but don't you need to have the OVERLAPPED struct persist
as well? Isn't the event slot there also used asynchronously?

Regards,
Bengt Richter



More information about the Python-list mailing list