DestroyWindow behavior differences between Win9x and Win2k/xp

Juan Lang juan.lang at gmail.com
Mon Mar 10 14:11:09 CDT 2008


>  I'm looking into a crash of Master Of Orion II on exit (both in Wine and
>  Windows XP). The problem appears to be that the program is attempting to
>  do a DestroyWindow on a different thread. This is not allowed by our
>  code and that behavior is backed up by MSDN documentation. This behavior
>  was allowed on Windows 9x however. I have confirmed that removing the
>  thread check allows the app to exit cleanly, but of course that is not
>  an acceptable fix.

On the contrary, if Windows (in any version) allows it, and an app
depends on it, then we have to emulate it.  A test case that passes on
Win9x that demonstrates the problem is probably sufficient to show
that the check should be removed.

--Juan



More information about the wine-devel mailing list