Sounds like it might be a problem with a DirectX file, you could try reinstalling DirectX.
I also did a quick search and found this topic on reddit https://www.reddit.com/r/techsupport/comments/y4f6oc/xapofx1_5dll_missing_error/#:~:text=To%20fix%20it%20properly%2C%20go,and%20run%20that%20installer!!!
But I can't guarantee that will work