A windows pure app

May 29, 2012 at 7:32am
I'm learning gtkmm GUI for windows. It's easy and I love it. When I run my program in MSWindows os, It shows two windows: 1) my application with form and buttons $ 2) the dos command prompt which I don't like to see in GUI program. If I close the Dos windows my program will be off. how can I avoid from dos window?
thnx
May 29, 2012 at 9:30am
What compiler are you using?
You have to compile your code as an Win32-App. There must be a compiler switch you have to activate...
May 29, 2012 at 6:20pm
I using mingw in code::block IDE.
Can I solve this by including some library?
May 29, 2012 at 11:24pm
This is normal. The console is for debugging your program when compiling it. You can send error messages to it. I don't know the exact details of when it's there or not. But when I made a release version of my program, and tested it on other computers, it wasn't there.
Last edited on May 29, 2012 at 11:38pm
Topic archived. No new replies allowed.