Re: [AD] No need for END_OF_MAIN (Windows) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] No need for END_OF_MAIN (Windows)
- From: Hrvoje Ban <spoofer255@xxxxxxxxxx>
- Date: Sun, 15 May 2005 08:33:57 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kgkj6nI/VHMgXJvrSlUXi2b5ZobXF3zZxwJBhZVG8r6LaJMNd4AP8W1giejT+yUf4lnh0dQSeSWUnKDuD+lGEYvGv0VODxD4njcaMswjAQCHzg/suhMKxwdItQyZIpveQ4KP/skX9s2xOGMHWxUa0XXcC7x30ohWyQNXoMdV+d0=
> Er... how would that work?
> WinMain and main have different prototypes.
Works like a charm here. Only problem is that it will crash when user
WinMain return if it's defined with WINAPI or APIENTRY (not really a
problem, could be noted in docs).