C ++ Win32 Project: Error "Unable to start program. Can not find the file specified "

0

I have a problem with visual studio 2010. When creating a new project using Win32 Project and running it without making any changes, this error occurs:

Unable to start program 'c:\users\....\xx.exe'. 
Cannot find the file specified"

Could someone tell me how I can solve this?

    
asked by Neon 28.02.2017 в 13:17
source

1 answer

0

You are trying to run the program before you have compiled it. Try to compile the program and then try to execute it. It should work.

Another possibility is that the project is composed and the executable project is not selected as a startup project. Edit the configuration of the solution so that the startup project is the executable project.

A last one that occurs to me would be related to access permissions, but this is too much to presuppose without having any idea about the configuration of your operating system.

    
answered by 28.02.2017 в 22:11