PostMessage and unprocessed messages



Hi,
I'm developing and application that read a stream from serial port,
trasform byte in a structure and send it to the top-most dialog that
uses those data. When a frame is received I create (new) my structure
and send with a postmessage to the top-most dialog (it delete the
message too). What happen if I close the dialog before all messages
are elaborated ? Is there a way to wait until all messages are
processed ? How can I prevent leakage if some messages weren't
elaborated ?

Thanks in advance,
Stefano
.



Relevant Pages

  • Re: RS232 Synchronizing of a data glove(lost bytes) and Flock of Birds(lag)
    ... BytesAvailable commands out of the loop and request to read one byte, ... which is always the first byte, 83 (stream echoed back). ... % FOB ... We though it might be a serial port problem since we are using one ...
    (comp.soft-sys.matlab)
  • Re: Why do every need I-Cache ?
    ... |> to a cache. ... latency of getting the I-bus stream restarted after a branch. ... And using triple-port V2DRAMs, dedicating the other serial port ...
    (comp.arch)
  • Re: cross-platform serial api for gforth
    ... implement serial port I/O and the top level code be the same. ... If you start from what Windows and Unices offer at the raw API ... the serial port stream is just that, ... emulation for display of the data that is updated in real time. ...
    (comp.lang.forth)
  • Numeric type conversions
    ... I'm reading in a byte stream from a serial port (which I've got ... working OK with pyserial) and which contains numeric data in a packed ... fairly standard Windows-compatible encoding. ...
    (comp.lang.python)

Loading