Re: [Mingw-w64-public] Problem with main() parameters in subsystem:windows apps

2008-08-08 Thread Kai Tietz
[EMAIL PROTECTED] wrote on 08.08.2008 10:46:50: > > The arguments passed here are bogus. > > You should use instead the standard function WinMain as entry proint for > > your user application. > > You mean using the -e flag? Would that be -e _WinMain then? That is > different from both "normal"

Re: [Mingw-w64-public] Problem with main() parameters in subsystem:windows apps

2008-08-08 Thread Tor Lillqvist
> The arguments passed here are bogus. > You should use instead the standard function WinMain as entry proint for > your user application. You mean using the -e flag? Would that be -e _WinMain then? That is different from both "normal" 32-bit mingw and MSVS conventions then... The 32-bit mingw use

Re: [Mingw-w64-public] Problem with main() parameters in subsystem:windows apps

2008-08-08 Thread Kai Tietz
Hi Tor, [EMAIL PROTECTED] wrote on 08.08.2008 08:33:16: > I recently built the GTK+ stack and its dependencies with mingw-w64 > (as cross-compilation from win32), and was pleasantly surprised with > how easy it was. Then I built GIMP, but there I ran into just one > problem: In an executable bui

[Mingw-w64-public] Problem with main() parameters in subsystem:windows apps

2008-08-07 Thread Tor Lillqvist
Hi, I recently built the GTK+ stack and its dependencies with mingw-w64 (as cross-compilation from win32), and was pleasantly surprised with how easy it was. Then I built GIMP, but there I ran into just one problem: In an executable built with -mwindows, the argc and argv parameters to main() are