Where to receive MCI PostMessageW notifications?
Joerg-Cyril.Hoehle at t-systems.com
Joerg-Cyril.Hoehle at t-systems.com
Wed Nov 11 03:58:21 CST 2009
Hi,
the MCI relies on notification to implement auto-open correctly. When
the command is done, it must send out a notification via PostMessageW.
The receiver then ought to call mciClose.
One possible implementation would be to have auto-open start a thread
that does nothing else but wait for this message to arrive, then call
mciClose. I wonder if there's something more lightweight than a
thread (this is not Erlang) that could be used inside Wine.
What could be used that reacts asynchronously to PostMessageW?
Currently, the missing auto-open functionality causes
- unclosed files (some seen as error messages when Wine exits)
(here it is essential that the notification works 100%)
- some application hangs, some of them in Bugzilla.
Thanks,
Jörg Höhle
More information about the wine-devel
mailing list