Re: [AD] Magic main in Windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Evert Glebbeek:
> Tested under Windows 98 with a year-old MinGW (gcc 3.2.3) and Allegro 4.1.12,
> this program compiles without warnings and runs as would be expected, both from
> a terminal and from the file manager, rather to my surprise.
Also works fine under Windows XP with latest MinGW (GCC 3.4.1) and Allegro
4.1.14.
> So why exactly do we need END_OF_MAIN() in Windows?
No idea. SDL also hides WinMain() but doesn't require the use of a macro. I
don't remember how they do it; maybe worth examining.
--
Daniel Schlyder
http://bitblaze.com/