MinGW will always use main() as the entry point if it is available - falling back on WinMain() if main() isn't found.
It is more common for Windows GUI apps to use WinMain() as the the entry...
Type: Posts; User: Codeplug
MinGW will always use main() as the entry point if it is available - falling back on WinMain() if main() isn't found.
It is more common for Windows GUI apps to use WinMain() as the the entry...
i386 and x86-64 Windows Options - Using the GNU Compiler Collection (GCC)
Use -mwindows to specify a non-console subsystem.
gg