A windows pure app

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
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...
I using mingw in code::block IDE.
Can I solve this by including some library?
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
Topic archived. No new replies allowed.