When I run the debugger it says 'Unable to start program: consoleapplication1.exe' and 'The system cannot find the path specified'.
exception in c++
Hi , I make a new consoleapplication and when I open it I receive the following exception:
"An exception has been encountered. This may be caused by an extension."
How can I fix this?
Please help
Thanks
2 answers
Sort by: Most helpful
-
-
WayneAKing 4,921 Reputation points
2021-08-23T12:26:58.49+00:00 When I run the debugger it says 'Unable to start
program: consoleapplication1.exe'That message usually means that there were build errors.
If a compile error or a link error occurs then no exe
will be created. So naturally it can't find the program
to start it.Always do a Build and check for success before trying to
Run the program being built. Fix all errors and warnings
from the Build and only try Run when you have a clean build.- Wayne