Re: Command Window with MSVC++ GTK apps

On Tue, 2006-10-03 at 09:12, Tor Lillqvist wrote:
add "/subsystem:windows" to the linking options. (If using gcc, it
would be "-mwindows".) Or run "editbin /subsystem:windows" on the .exe
file any time after linking.

I find that doing the former doesn't actually work. In that case it
fails to link with WinMain, which of course doesn't exist. And I can't
just change the entry point to "main" since that causes a GPF at
runtime, probably because the prototypes for main and WinMain don't

Running editbin after compiling does have the desired effect.

Any idea how to change the link settings that will produce a working

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