visual studio 2010 - Show console window when debugging Win32 MFC application in VS2010 -


here have mfc project. want see console window when press f5. can see output.

could configuration in project setting enable without changing code?

thanks.

[solved]

  • open project's property pages dialog box. details, see setting visual c++ project properties.

  • click linker folder.

  • click system property page.

  • modify subsystem property.

    console (/subsystem:console)

if using vc6, steps similar:

project->settings

select link tab

at bottom in project options text box, /subsystem:windows setting. modify read /subsystem:console

recompile, , when launch application launch console window.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -