Irrlicht device could not be created with the parm...

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
omarb
Posts: 23
Joined: Fri Jul 07, 2006 1:34 pm

Irrlicht device could not be created with the parm...

Post by omarb »

hi, i tried to run my application on a PC containning the win2003 and i got this exception:
Irrlicht device could not be created with the parameters you specified

this is the code that should create the device..
device = New IrrlichtDevice(Irrlicht.Video.DriverType.DIRECT3D9, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)

when i ran dxdaig on this pc it informed me that direct 9 is installed.
weird thing is that using openGL every thing works:
device = New IrrlichtDevice(Irrlicht.Video.DriverType.OPENGL, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)

is there a specific reason for it not to work.. and if it needs direct 9 to work, can i install the direct9 on the clients computer.. finally does direct9 comes with winXP or win2003?
thanks for any help
Post Reply