> I'm writing a small program under Windows using the Ruby and GTK+ mingw32
> ports.  I wrote a small C executable to wrap and this program.  The
> problem is when I run the program it also opens up an empty Windows
> console.  Is there a way to prevent this, or at least to hide the
> console?  Be aware I'm a beginning coder and very unfamiliar with Windows
> programming.

Please see the question 14B in this MinGW FAQ list ("Compiling and
Building"/"How to create a windows application?"):

    http://www.mingw.org/mingw-oldfaq.shtml

It *appears* that the solution is to add "-mwindows" to the linker flags.

Hope this helps,

Lyle