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
match.

Running editbin after compiling does have the desired effect.

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


_______________________________________________
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