Restart your computer if you haven't yet.
The xapofx1_5.dll error might be a fluke and a simple restart could clear it up completely.
Install the latest version of Microsoft DirectX. Chances are, upgrading to the latest version of DirectX will fix the xapofx1_5.dll not found error.
Note: Microsoft often releases updates to DirectX without updating the version number or letter so be sure to install the latest release even if your version is technically the same.
Note: The same DirectX installation program works with all versions of Windows including Windows 7, Windows Vista, Windows XP, and more. It will replace any missing DirectX 11, DirectX 10, or DirectX 9 file.
You can use the dllsuite to solve the missing dll problems.