Open Console in win32 API program?

Dec 15, 2011 at 3:07pm
is it possible?

let's say I have simple dialog, and if I click on one button it will open windows console, like when u are creating console program...
Dec 15, 2011 at 3:31pm
Google is your best friend. :)

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

This even has C++ source code.
Dec 15, 2011 at 3:35pm
I was searching on google, I found this article but I didn't opened it cuz I thought they mean fstream :P my bad, thanks
Dec 15, 2011 at 4:38pm
Hey no problem. Good luck to you.
Dec 15, 2011 at 8:06pm
I use that "gui console" code a lot for debugging. But I have found that clicking on the console's [x] button, to close it, can sometimes take out the app. So if you need the console for more than just debugging, you might want to look into disabling the close button. This involves calls to GetConsoleWindow(), GetSystemMenu(), and DeleteMenu().
Topic archived. No new replies allowed.