RA2 works fine for me in Windows 7.
Make sure you run it as an Administrator, and try setting compatibility settings to Windows XP as the above posters mentioned. All of these settings are located under the Properties menu that appears when you right-click on the game's .exe file.
I'm having the same issue, but with no pirated software. There are several files in the RA2 folder that are "applications." I used the compatibility feature to change each file to "XP SP2." I can get the program to start, but I get a black screen. I can hear the game initialize, but can't see anything. Any ideas?