If you have received "XAudio2" and/or "d3dx9_42.dll" error upon starting an emulator such as Snes9X or VBA-M (Visual Boy Advance), and either the emulator would not start and/or the audio got disabled and you had to switch the sound/audio settings for Snes9X from "XAudio2" to "Snes9X DirectSound" in order for the sound/audio to work.... well here is how to fix it. By do the following, it will fix both problems. It will alow you to use "XAudio2" and it will fix the ".dll" error when loading the emulator.
The reason why you got these two errors/problems, is because you do not have the latest DirectX updates installed on your computer. You may think you do because you may think you have the latest DirectX installed (9.0c for windows xp) and you have "Automatic Updates" enabled on your computer that downloads Windows/Microsoft's latest updates to your computer. But even if you have the latest DirectX installed along with having "Automatic Updates" enabled, there is still a DirectX update that for whatever reason does not get updated to your DirectX when you use the "Automatic Windows/Microsoft Updates" feature (the little, yellow update icon on the bottom right of your screen, next to the clock, that shows up when windows is automatically updating your system).
To install the latest update of DirectX, go to the Microsoft.com website and download and run the "Microsoft DirectX End-User Runtime Web Installer" (File name is "dxwebsetup.exe"). The file is only 286 KB and what it does is it updates ".dll" files in DirectX and fixes the "XAudio2" problem. It also updates whatever other DirectX files that is not at the most up-to-date such as D3DX, HLSL Compiler, XInput, XAudio, and Managed DirectX 1.1 components. You can read further about this update at the microsoft web page. After your DirectX updates, YOU MUST RESTART YOUR COMPUTER for the effects to take place. After doing this, your "XAudio2" problem and your ".dll" problems will be fixed.
Do not try to download any individual ".dll" files from other websites to try to fix these problems. Do it the right way and safe way from the Microsoft website.
I hope this has helped some of you
The reason why you got these two errors/problems, is because you do not have the latest DirectX updates installed on your computer. You may think you do because you may think you have the latest DirectX installed (9.0c for windows xp) and you have "Automatic Updates" enabled on your computer that downloads Windows/Microsoft's latest updates to your computer. But even if you have the latest DirectX installed along with having "Automatic Updates" enabled, there is still a DirectX update that for whatever reason does not get updated to your DirectX when you use the "Automatic Windows/Microsoft Updates" feature (the little, yellow update icon on the bottom right of your screen, next to the clock, that shows up when windows is automatically updating your system).
To install the latest update of DirectX, go to the Microsoft.com website and download and run the "Microsoft DirectX End-User Runtime Web Installer" (File name is "dxwebsetup.exe"). The file is only 286 KB and what it does is it updates ".dll" files in DirectX and fixes the "XAudio2" problem. It also updates whatever other DirectX files that is not at the most up-to-date such as D3DX, HLSL Compiler, XInput, XAudio, and Managed DirectX 1.1 components. You can read further about this update at the microsoft web page. After your DirectX updates, YOU MUST RESTART YOUR COMPUTER for the effects to take place. After doing this, your "XAudio2" problem and your ".dll" problems will be fixed.
Do not try to download any individual ".dll" files from other websites to try to fix these problems. Do it the right way and safe way from the Microsoft website.
I hope this has helped some of you
Comment