giggle
giggle

Reputation: 1941

Show console window when debugging Win32 MFC application in VS2010

Here I have a MFC project. I want to see the console window also when I press F5. Then I can see the output.

Could I do some configuration in Project setting to enable this without changing the code?

Thanks.

[Solved]

Upvotes: 4

Views: 10169

Answers (1)

JadeMason
JadeMason

Reputation: 1191

If you are using VC6, the steps are similar:

Project->Settings

Select the Link tab

At the bottom in the Project Options text box, look for the /subsystem:windows setting. Modify this to read /subsystem:console

Recompile, and now when you launch the application will launch with a console window.

Upvotes: 2

Related Questions