Re: Command Window with MSVC++ GTK apps
- From: Tor Lillqvist <tml iki fi>
- To: gtk-app-devel-list gnome org
- Subject: Re: Command Window with MSVC++ GTK apps
- Date: Tue, 3 Oct 2006 19:12:50 +0300
Matthew Yaconis writes:
I have a natively linux GTK+ application that I've ported to Win32 using
MSVC++. The way I originally ported it causes the cmd window (that catches
all the printf type statements) to appear whenever running the application.
I thought there was some way to disable this but haven't been able to find
the solution. Any suggestions?
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.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]