Page 1 of 1
D3DX9_42.DLL
Posted: Thu Jan 05, 2012 5:00 am
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 ?
Re: D3DX9_42.DLL
Posted: Thu Jan 05, 2012 5:43 am
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.

Re: D3DX9_42.DLL
Posted: Thu Jan 05, 2012 10:10 am
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
Re: D3DX9_42.DLL
Posted: Thu Jan 05, 2012 11:48 am
by Danilo
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.
Re: D3DX9_42.DLL
Posted: Thu Jan 05, 2012 2:16 pm
by G.Houska
Well, thank you all very much.
I installed th DX9 kit from Microsoft, and now everything works OK.
Re: D3DX9_42.DLL
Posted: Sat Dec 29, 2012 1:45 pm
by Andre
Done for PB5.10 docs

Re: D3DX9_42.DLL
Posted: Sun Dec 30, 2012 6:56 pm
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
Re: D3DX9_42.DLL
Posted: Tue Aug 27, 2013 6:32 pm
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
