hi, i am trying to get to work the TechDemo in Irrlicht 0.4.2 but the problem seems to be in the class CDemo when i create by second time the irrlicht device with the parameters passed by CMainMenu, nut there is not other way to do this, or there is other way to change the driver, fulsscreen, shadows, resolution, etc in execution?
i get the conclussion commenting code in the CDemo Run() function and i force to CMainMenu->Run(parameters) to return false or true, when false, the application close normally without errors but when is true the main creates the class CDemo and call to Run() and when it creates again a new device the application crashes.
some idea?
another rare problem with this is that when i create a button like the startbutton in CMainMenu and click on this ALWAYS crash the application but the other controls like the listbox and checkbox works very good, so i changed the eventreceiver to get start when Music's CheckBox is true and the start button in clear.
thanks.
TechDemo + Irrlicht 0.4.2 troubles.
1) what operating system, compiler/IDE and rendering device (OS/OGL) are you using?
2) what is the error when it crashes? or does it just crash silently? Have you been able to trace the crash in debug mode? if so, what line does it crash, and what is the error message?
2) what is the error when it crashes? or does it just crash silently? Have you been able to trace the crash in debug mode? if so, what line does it crash, and what is the error message?
a screen cap is worth 0x100000 DWORDS
1)
OS = M$ Windows XP
IDE = Dev-Cpp
Render Device = In CMainMenu DirectX but when change to CDemo y can select between Software Render, DirectX or OpenGL, both crashes at the same time.
2)
The error is the common error of windows xp when an application fail.
"MyTechDemo.exe ha detectado un problema y debe cerrarse."
english:
"MyTechDemo.exe has detected a problem and must be closed."
In debug mode:
"Violación de un segmento de memoria ocurrió en tu programa."
english:
"Memory segment violation has taken place in your program."
OS = M$ Windows XP
IDE = Dev-Cpp
Render Device = In CMainMenu DirectX but when change to CDemo y can select between Software Render, DirectX or OpenGL, both crashes at the same time.
2)
The error is the common error of windows xp when an application fail.
"MyTechDemo.exe ha detectado un problema y debe cerrarse."
english:
"MyTechDemo.exe has detected a problem and must be closed."
In debug mode:
"Violación de un segmento de memoria ocurrió en tu programa."
english:
"Memory segment violation has taken place in your program."