Hi all,
For about a week, I've been having this issue on my Windows 8.1 machine, where I can build a C++ program using Eclipse CDT, Visual Studio 2012 or Code::Blocks 12 & 13, but when I try to open the .exe file in Explorer, nothing happens.
I go to Task Manager, it's not there. Process Hacker 2 shows the application, but I can't terminate it and get the following error after my first attempt: "Unable to terminate HelloWorld.exe (PID 4016): An attempt was made to access an exiting process."
When I try to run the program using the debugger of one of said IDE's, I also get nothing. In Code::Blocks, the console window opens up, but nothing prints. Visual Studio debugger just crashes. Eclipse hangs at the "Launching" window.
I have tried the following (and more probably) so far with no luck:
- Re-building old projects that used to compile and run
- Writing simple HelloWorld programs
- Applying Windows .exe file association registry fix as described here:
https://support.microsoft.com/en-us/kb/950505
- Trying out different compiler settings on Code::Blocks
- Re-downloading Code::Blocks 13, bundled with TDM-GCC 4.7.1 or 4.8.1
- Temporarily disabling Avast Antivirus
- Rebooting the computer
I should also mention that I haven't had the same issue when building C projects with Eclipse CDT and Code::Blocks.
Please forgive me if I'm not adhering to forum rules or if my post is incoherent. Any help will be greatly appreciated!