I am getting the Following problem when i try to initialize the directx
SlimDX.Direct3D9.Direct3D9NotFoundException was unhandled Message="Direct3D 9 was not found. Reinstalling DirectX may fix the problem
code:
Direct3DEx m_d3dEx = new Direct3DEx();
I checked the version of Directx installed on my PC via dxdiag utility it shows that i have Directx 9c installed.
what is the cause of the problem.
Abdul Khaliq
My "guess" is that you aren't running Vista. Direct3DEx can only be created on a Vista machine.
Edit:
Change your code to
Direct3D m_d3d = new Direct3D();
And that "should" fix you.