Check "dxdiag" in the run command, and just check to make sure you have the right version installed (DirectX 9.0c).
Also the right version should be on the Generals CD anyway, or you can just download the latest version. This is if you havent already got the latest version installed.