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
> 
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to