Re: Command Window with MSVC++ GTK apps
- From: Christopher Backhouse <cjbackhouse gmail com>
- To: "Alan M. Evans" <ame1 extratech com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Command Window with MSVC++ GTK apps
- Date: Wed, 04 Oct 2006 00:19:45 +0100
Lots of my code has this at the top of it
#pragma comment(linker, "/subsystem:\"windows\"
/entry:\"mainCRTStartup\"") //Kill console window
I got it off the internet somewhere.
I assume the unrecognised pragma will be ignored by every other compiler
out there so it should be "portable" (if a little ugly)
Is it possible to just add the string in this command somewhere into the
link options?
Alan M. Evans wrote:
On Tue, 2006-10-03 at 14:52, Reed Hedges wrote:
Are you using cygwin or mingw?
Nope. Just took my prog developed on my Linux workstation and created a
VC++ project by adding the source files and specifying the Win32
glib/gtk+ libs and DLLs.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]