TechDemo + Irrlicht 0.4.2 troubles.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Epsilon
Posts: 38
Joined: Fri Jan 09, 2004 1:46 pm
Location: Argentina

TechDemo + Irrlicht 0.4.2 troubles.

Post by Epsilon »

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.
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

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?
a screen cap is worth 0x100000 DWORDS
Epsilon
Posts: 38
Joined: Fri Jan 09, 2004 1:46 pm
Location: Argentina

Post by Epsilon »

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."
Post Reply