DirectX 9 dll problem

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Valmond
Posts: 308
Joined: Thu Apr 12, 2007 3:26 pm

DirectX 9 dll problem

Post by Valmond »

Hi everybody!

My game starts to work quite okay but from time to time someone gets this problem (or similar) :

From the DOS window:

Code: Select all

Irrlicht Engine version 1.7.1
Professional  (Build 7600)
Using renderer: Direct3D 9.0
ATI Radeon HD 5700 Series aticfx32.dll 8.17.10.24
Could not load shader function D3DXAssembleShader from dll, shaders disabled: d3
dx9_40.dll
Could not create vertex shader.
Could not create vertex shader.
...
So no shaders are loaded or compiled.

Usually a DirectX install fixes it but this error comes from a friends computer, and he has DirectX11 installed + the latest drivers on a Windows 7 64-bits system.

Isn't DirectX 9 like included in DirectX 11 any more or might this be a "Windows 7" problem?

Secondly, is there a way to check if DirectX is installed and what version (so that I can make an annoying pop-up to tell the user to install it)?


Cheers!
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

I'm not sure exactly how to help you with your problem, but I can confirm that this isn't a "windows 7 issue." DX9 is still supported in all current releases of DX, and probably will be for a long time.
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post by B@z »

well we had the same problem with my friends comp (windows 7)
it isnt really a nice sollution, but we just simply put the problematic file from my comp (winxp), to his comp, and it worked XD
Image
Image
Valmond
Posts: 308
Joined: Thu Apr 12, 2007 3:26 pm

Post by Valmond »

I know it's like 'forbidden' by Microsoft but I'll try it anyway, thanks :)
wing64
Competition winner
Posts: 242
Joined: Wed Jul 23, 2008 2:35 am
Location: Thailand
Contact:

Post by wing64 »

Try install dx9 runtime redist in win7, Hope this help. :D
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

I usually just google the DLL name and download it off some random website. I wouldn't recommend that though, for security purposes :P
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply