I'v found this fix "works for me" but "Do it on your own risk" be careful while doing that!
1.click on windows logo
2.Type "regedit" in search.
3.a-click on "HKEY_CLASSES_ROOT"
b-click on "PROTOCOLS"
c-"filter"
4.Right click on "text" then "Export" and save it anywhere in order to backup.
5.Right click again and select "Delete"
The game should work fine now.
P.S : If u have any problem after doing that just add the backup file to the registry "open it" but u may face that "Direct x" problem again.