On 3 Nov 2002, Alexandre Julliard wrote:
Ove Kaaven ovehk@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.