Re: windows Development



Ryan Orth wrote:

Ok, I'm relatively new to GTK and I have some questions.
I'm trying to develop applications that are mult-platformed using the GTK
toolkit.  After much wrangling I was able to get things to compile in windows
uinsg gcc-mingw32-msvcrt.
How do you keep that dos box from popping up when you run the program?  I'm
guessing it has something to do with stdout and stderr but it would be nice to
know how to do it the right way....


All Win32 binaries have a flag that identifies them as either a "command-line" or "Windows" application - the binary loader then creates the DOS window based on the setting of that flag, whether your app uses stdin/stdout or not. Check the gcc docs for linker options - there's an option there somewhere for tagging your app as a "Windows" application ... can't remember what it is, though :)

HTH,
Tim Shead





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]