Hi,
Based on your description, I found a case may relate to your problem, please refer to the link:
Directx encountered an unrecoverable error check the readme for possible solutions
https://steamcommunity.com/app/209650/discussions/0/613940477924303728/
In addition, for COD2 issue your best bet is contacting manufacturer for further help.
https://help.steampowered.com/en/
Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Tao
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.