Hello Peter,
I think I might have found the solution. For now I'm not getting the error anymore and everything else seems to be working properly.
What I did was to reinstall the Direct X from microsoft website, the link was one page before in this same thread.
Thanks for the help