Sign in to follow this  
fpsgamer

Visual Studio: How can I get a console window inside a Win32 application....

Recommended Posts

My current project is a Win32 application, is it possible to get access to a console window as well so I can have a place to dump some real time ascii data?

Share this post


Link to post
Share on other sites
change the link option /SUBSYSTEM:WINDOWS to /SUBSYSTEM:CONSOLE and set /ENTRY option with WinMainCRTStartup. more detial can be found at http://msdn2.microsoft.com/en-us/library/f9t8842e.aspx.

Share this post


Link to post
Share on other sites
Look at this website. This will allow you to redirect the standard output to a created console window inside of a GUI application.

http://www.halcyon.com/~ast/dload/guicon.htm

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this