in irrlicht-0.9 the precompiled examples in /bin/VisualStudio are crashing with directx8 and directx9c. with opengl it'is ok.
in irrlicht-0.8 they run with all devices. so what was changed with directx in 0.9 compared to 0.8?
[SO] irrlicht-0.9 precompiled examples crashing with directx
[SO] irrlicht-0.9 precompiled examples crashing with directx
Last edited by oconv on Thu Mar 31, 2005 3:50 pm, edited 2 times in total.
Hallo,
ich habe das selbe Problem, aber nicht nur bei den Beispielen, sondern auch wenn ich in einem selbstkompilierten Beispiel das DirectX8/9 Device ansprechen will... OpenGL funktioniert einwandfrei...
Ich benutze aber nicht Visual Studio sondern DevCpp...
Benny
P.S.: Einen etwas genaueren Fehler kann ich heute Abend posten.
ich habe das selbe Problem, aber nicht nur bei den Beispielen, sondern auch wenn ich in einem selbstkompilierten Beispiel das DirectX8/9 Device ansprechen will... OpenGL funktioniert einwandfrei...
Ich benutze aber nicht Visual Studio sondern DevCpp...
Benny
P.S.: Einen etwas genaueren Fehler kann ich heute Abend posten.
kann ich bestätigen....
hab aber auch ne schrottige onboard graka mit 64 MB von intel....
@Dryas123:
stürzt eher nicht ab, sondern beendet sich beim starten einfach, right?
liegt daran, dass das mingw/devcpp-build kein D3D unterstützt!!!
was ich aber nicht ganz verstehe, da es modifizierte libs/includes für dx8 und dx9 gibt, welche mit mingw funktionieren.....
ob die 100% legal sind weiss ich auch nicht.....
hab aber auch ne schrottige onboard graka mit 64 MB von intel....
@Dryas123:
stürzt eher nicht ab, sondern beendet sich beim starten einfach, right?
liegt daran, dass das mingw/devcpp-build kein D3D unterstützt!!!
was ich aber nicht ganz verstehe, da es modifizierte libs/includes für dx8 und dx9 gibt, welche mit mingw funktionieren.....
ob die 100% legal sind weiss ich auch nicht.....
that is exact what's happening.stürzt eher nicht ab, sondern beendet sich beim starten einfach, right?
ok, i could figure out the problem and solve it...
too many open applications. looks like there was not enough grafic power left.
i had similar issues with self compiled levels in opengl mode. with too many apps open, the framerate dropped dramaticly.
geforce4 ti 4200 128mb as quadro4 780XGL
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
me too, With DX9 the Demos always crash.
i know the slution and apply it to my Engine , and it wroks.
the problem is in D3D_SDK_VERSION of
pID3D = (*d3dCreate)(D3D_SDK_VERSION);
so change it to
pID3D = (*d3dCreate)(31);
thanks
i know the slution and apply it to my Engine , and it wroks.
the problem is in D3D_SDK_VERSION of
pID3D = (*d3dCreate)(D3D_SDK_VERSION);
so change it to
pID3D = (*d3dCreate)(31);
thanks
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
i am using VC++ TOOLKIT 2003 and also DevC++.
so i use the Microsoft SDK and DirectX90c.DevPak.
but i test this with DevC++
it crashs when creating DX9 as i mentioned.
so i use the Microsoft SDK and DirectX90c.DevPak.
but i test this with DevC++
it crashs when creating DX9 as i mentioned.
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
sorry i must be more clearly about Crashing.
when Engine tries to create DX9 by
pID3D = (*d3dCreate)(D3D_SDK_VERSION);
it always return zero, so pID3D will be 0.
it carshs when you try to use pID3D for calling.
thanks
when Engine tries to create DX9 by
pID3D = (*d3dCreate)(D3D_SDK_VERSION);
it always return zero, so pID3D will be 0.
it carshs when you try to use pID3D for calling.
thanks
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/