D3DX9_42.DLL

Windows specific forum
G.Houska
New User
New User
Posts: 4
Joined: Sat Aug 21, 2010 1:37 pm

D3DX9_42.DLL

Post by G.Houska »

I was trying to run the "terain" sample included in pb, but was unable to do so
Error : d3dx9_42.dll not found on this computer
I have tons of d3dx9 and d3dx10 dlls in the system32 directory, but not this one.
Re-installing PB didn't help.
Any ideas ?
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: D3DX9_42.DLL

Post by Kuron »

Vista - 7 do NOT ship with DirectX 9 support. DirectX 10 and above are not backwards compatible. They only provide very limited backwards compatibility via emulation. You need to download and install the DirectX 9 runtimes from the Microsoft site:

http://www.microsoft.com/download/en/de ... en&id=8109

BTW, glad to see you here. I recognize your user name from elsewhere. :wink:
Last edited by Kuron on Thu Jan 05, 2012 10:12 am, edited 1 time in total.
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
leonhardt
Enthusiast
Enthusiast
Posts: 220
Joined: Wed Dec 23, 2009 3:26 pm

Re: D3DX9_42.DLL

Post by leonhardt »

G.Houska wrote:I was trying to run the "terain" sample included in pb, but was unable to do so
Error : d3dx9_42.dll not found on this computer
I have tons of d3dx9 and d3dx10 dlls in the system32 directory, but not this one.
Re-installing PB didn't help.
Any ideas ?

just download it, for example,here:http://xiazai.xiazaiba.com/Soft/D/d3dx9_42_XiaZaiBa.zip
inc 32 & 64bit version
poor English...

PureBasic & Delphi & VBA
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: D3DX9_42.DLL

Post by Danilo »

leonhardt wrote:just download it, for example,here:http://xiazai.xiazaiba.com/Soft/D/d3dx9_42_XiaZaiBa.zip
inc 32 & 64bit version
Better download it from Microsoft and use the DX Installers.

Toymaker has an overview site with links to the MS DX9 web installer:
http://www.toymaker.info/Games/html/d3dx_dlls.html

I did a one time DirectX9 webinstall with Microsoft's installer some time ago
and it installed everything just fine.

Maybe it would be a good idea to include the link to the DX9.0c web installer in the PB help.
G.Houska
New User
New User
Posts: 4
Joined: Sat Aug 21, 2010 1:37 pm

Re: D3DX9_42.DLL

Post by G.Houska »

Well, thank you all very much.
I installed th DX9 kit from Microsoft, and now everything works OK.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2071
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: D3DX9_42.DLL

Post by Andre »

Danilo wrote: I did a one time DirectX9 webinstall with Microsoft's installer some time ago
and it installed everything just fine.

Maybe it would be a good idea to include the link to the DX9.0c web installer in the PB help.
Done for PB5.10 docs :-)
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Atlante
User
User
Posts: 22
Joined: Mon Jun 27, 2011 1:39 pm
Location: FRANCE

Re: D3DX9_42.DLL

Post by Atlante »

hello,

I formatted my pc yesterday and now i have problems with PB5.00
Windows 7 PRO x64

Directx 9 is installed but when i start sprite3d exemple : i have black screen, i see in debugger the program is runing but nothing is displayed.

With directx 7 or openGl it works. I don't understand the problem.

So i wrote directly to the compiler options, and i gave this error now : Le sous-système suivant est introuvable : directx 9
The sub-system isn't found: directx 9

could you help me ?

regards,

Morgan

edit : if i create folder directx9 in C:\Program Files (x86)\PureBasic\SubSystems\ not error but allways blackscreen
Devops Engineer
PB French Moderator
http://www.purebasic.fr/french/
Fred
Administrator
Administrator
Posts: 16687
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: D3DX9_42.DLL

Post by Fred »

The 5.20 Windows installer will provide a check and will install automatically the needed runtime if needed. The needed 'DirectX9 Redistribuable' will be found in the PureBasic SDK directory, so you can also use them to deploy your 3D application easily. This error will be history :)
Post Reply