DestroyWindow behavior differences between Win9x and Win2k/xp

Justin Chevrier jchevrier at nexicom.net
Mon Mar 10 14:17:40 CDT 2008


Juan Lang wrote:
>>  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
>
>
>
>   
Okay, that will be my next stop.

Thanks Juan and Dan.

Justin



More information about the wine-devel mailing list