|
From: Abhijit S. <mu...@gm...> - 2003-01-30 18:00:58
|
Greets, Colin and Ricardo.
> This error means you haven't declared any main() or WinMain() function in
> your program. This function is mandatory when creating an executable,
because
> it is the entry point of your program.
Actually, it means, WinMain() is not defined. Ricardo has probably created a
GUI program with a main() function. To fix it, in Allegro, use
END_OF_MAIN(); after the closing brace of main(). Like this:
int main()
{
}
END_OF_MAIN();
Otherwise, change main() to WinMain(). However, retaining main() will be
more portable.
___________________________________________________________
Abhijit Shylanath
mu...@gm...
http://mudeth.tripod.com/
|