Forum Discussion

Re: C&C generals directx error

Can confirm, ironically the Ultimate Edition worked just fine for me, but i wanted them in Steam for convenance sake, and I'm getting the DirectX error, and not even downloading DirectX 9 with your link or deleting dbghelp has fixed it, do we know of any new fixes with the Steam edition in mind?

3 Replies

  • LollyNET247's avatar
    LollyNET247
    Seasoned Newcomer
    1 year ago

    Same here - I have the Steam version, and I've tried all the fixes listed above, and still the same error.

    Interestingly my laptop does not work; but my PC does (both using the Steam versions).

    There has got to be some sort of driver version check the application is still doing. Hopefully Steam fixes this issue soon

  • 1Marduc1's avatar
    1Marduc1
    1 year ago


    This is how i fixed the Direct X error on my PC.


    OS Name: Microsoft Windows 11 Enterprise
    System Type: x64-based PC
    Processor: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz, 2419 Mhz, 4 Core(s), 8 Logical Processor(s)
    Installed Physical Memory (RAM): 16,0 GB

    I have this game for a long, long time, and i had 4 or 5 times this directX error. I had solved all the other times, and since this isn't frequent, i forget everytime how i solved it. 🙂
    so, this is also to put a reminder for me and to share to others my solution to my PC.

    I've tried to re-install the directX with no success, and also made all the suggestions in this post, all with no success.
    Then i tried to recall the last thing that i did on the game before this error poped up (i was trying some AI bots...) then i recalled i changed the resolution settings of the game, and that made me a click, a "dejá vu" thing... 🙂

    Problem: where to find the config file with the resolution settings...

    There are two files "options.ini".

    One, in the game installation path (mine is: C:\Jogos\Command and Conquer Generals Zero Hour) -> this one didn't wok

    The other one, is where the games are saved (mine is: C:\Users\XXX\Documents\Command and Conquer Generals Zero Hour Data) -> this one worked

    Solution:
    What you need to do, is edit the options.ini file and change the resolution to a lower screen size.

    I lowered mine to:
    Resolution = 1400 1050

    After that, the game runs without any problems, and you can change in the game the screen settings again to a better resolution for your PC.

  • @1Marduc1 Great, thanks for that hint! Lowering the resolution did the trick for me. I also set it to 1600x1200 some time ago and spent hours yesterday trying to fix that DirectX error

  • foliolio's avatar
    foliolio
    Seasoned Newcomer
    9 months ago

    Thank you.  The options.ini was the fix for me.

  • kgx9jnovcsuk's avatar
    kgx9jnovcsuk
    Rising Newcomer
    7 months ago

    it work ! Try this !

    The other one, is where the games are saved (mine is: C:\Users\XXX\Documents\Command and Conquer Generals Zero Hour Data) -> this one worked

Featured Places