dialog boxex and DestroyWindow

Ove Kaaven ovehk at ping.uio.no
Mon Nov 4 05:04:50 CST 2002

On 3 Nov 2002, Alexandre Julliard wrote:

> Ove Kaaven <ovehk at ping.uio.no> writes:
> > Does anyone have a good way to deal with this? One way might be to make
> > DestroyWindow map to EndDialog in this case (as EndDialog manages to
> > handle this right), but what would the best way to do that be?
> You should probably write a test program under Windows to check that,
> but I would be quite surprised if DestroyWindow didn't destroy the
> window. What is causing the app to break?  Do we fail to check for
> valid window handles somewhere?

Well, the heap gets corrupted. But I can try to take another look soon.

More information about the wine-devel mailing list