problem with EDT_DIRECTX8 and EDT_DIRECTX9

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
alfa
Posts: 3
Joined: Sun Jul 24, 2005 10:16 am

problem with EDT_DIRECTX8 and EDT_DIRECTX9

Post by alfa »

Hi, i'm a new member of this forum and i'have a problem with the first tutorial.

at this point:
IrrlichtDevice *device =
createDevice(EDT_OPENGL, dimension2d<s32>(1024, 768), 32,
false, false, false, 0);

if i replace EDT_OPENGL with EDT_DIRECTX8 or EDT_DIRECTX9. there is an error of initialization.
scuse me for my basic english.
DexteR
Posts: 15
Joined: Mon Jul 18, 2005 1:52 am
Location: @ Kernel32.DLL

Post by DexteR »

Some Hints:
-----------

* Make sure u have a DirectX installed

* Make sure your monitor or video card supports
1024x768 resolution, as u use this resolution in your code.


This ff will make irrlicht reports an error in creating DX interface:
---------------------------------------------------------------------

* if it cannot load "d3d9.dll",getting DX address, and creating pID3D
*
........."Error, could not load d3d9.dll."
........."Error, could not get proc adress of Direct3DCreate9."
........."Error initializing D3D."

* If it cannot get the "Display mode" of your video adapter
*
........."Error: Could not get Adapter Display mode."


* if it fails to Create the Device
*
........."Was not able to create Direct3D9 device."



Hope this will help you get to know where the problem is.
AnimaKomix: A Half-3D Packer & Animator
http://www.freewebs.com/project_z/
area51
Posts: 338
Joined: Thu Mar 18, 2004 10:20 pm
Location: UK
Contact:

Post by area51 »

If you're using Dev C++ then you could try some of these links to get it going:

http://www.irrdev.com/documents/DXinDev.pdf

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5813
________
Jugalettes
Last edited by area51 on Tue Feb 22, 2011 1:10 pm, edited 1 time in total.
alfa
Posts: 3
Joined: Sun Jul 24, 2005 10:16 am

Post by alfa »

yes i use dev c++. and now is all ok.
Post Reply