You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Hi. Maybe it is a bug. When i trying to run the example 05 from irrlicht SDK and press button "Quit" the program cannot finishing. The main window is destroyed by console window is still alive. Why?
I just stumbled across this as well, I believe. The problem appears to be that the window is destroyed in closeDevice() before the message is posted/retrieved. Changing
Not the recent change, the one I've added in 1007 or so. What is it good for? I thought that it would avoid the problems with wrongly received quit messages.
You can drop the devices, but creation of a second device might be a problem. These problems will be fixed before the final 1.4 release.
Spintz, is there a way to check if DestroyWindow was already called on a HWND? That would be the best way to fix run(), because it would also fix cases where the user called DestroyWindow on the handle.