Re: [AD] Magic main in Windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sunday 01 August 2004 18:30, Daniel Schlyder wrote:
> 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.
Looks like SDL just pulls a #defines SDL_main main in it's main include
file and calls that.
Not sure if that means that you can't use your own WinMain though... I
guess it doesn't but how they worked around that I don't know.
Evert