turn off console window when running application

Started by hypersimus, June 14, 2010, 07:57:59 AM

Previous topic - Next topic

hypersimus

hi,
i just tested running IUP toolkit with pelles c,
this source compiled and link successfully.

but problem is, whenever i double click to run this application, it would shows a command prompt window at the back, with the IUP window in front.

is there somehow somewhere there is a switch to turn off this feature? (like in freebasic, * found while searching for solution)

Quote
http://www.freebasic.net/forum/viewtopic.php?p=123099
The compiler option -s gui ensures no console window is created when
a program using iup is executed.

hypersimus


TimoVJL

May the source be with you

hypersimus

oh,
thanks timovjl

setting -subsystem:windows and then entry point set to "main" works, just figured out. :) it works smooth now.