Try using compatibility mode.
Uninstall the game first. Then using compatibility mode, run the setup.exe or the autorun.exe or whatever it maybe in WinXP SP2 and in administrator mode. After you are done, right click on the C&C game icon and under compatibility tab, check 'WinXP SP2' and 'Run this program as an administrator'.
Also, if this doesn't help, try using Virtual XP. http://www.sevenforums.com/tutorials/8247-windows-xp-mode-install-setup.html