I am not a professional developer but a social scientist using VS for develping a simple simulation program. With VS 2010 Pro, I built a Win32 console program. When I execute the program via Run (F5), the following error pops up:
"Unable to start program "C:\...\xxxx.exe" "
When I go to Debug or Release folder, an exe file is in the folder. However, when I double click on the exe file, the following error pops up:
"C:\...\xxxx.exe is not a valid Win32 application"
I used to run the same codes/program without any problem, but the above problem began from a few days ago. I guess it could be due to recent windows updates. I checked for viruses with multiple vaccines, and no issues in this regard.
So far, I tried everything... I uninstalled VS and reinstalled it, but the same problem persists. Now I even erased and reinstalled Windows, and I encounter the same problem!!!
I have been using Windows 7 and tried Windows 8.1, too. Used platform is Apple Macbook Pro Retina.
Can you please help me? My project deadline is apporaching very fast and I am wasting a lot of time on this issue!!! Thank you very much.