> > This is Haiku not windows, No WndProc functions etc =) > From what i know the main() function is the one to use in haiku, even when > doing pure haiku programs =) > You'll find with SDL it mostly takes care of the crossplatform stuff for you. Check out this simple demo program: http://www.libsdl.org/projects/fire/ You'll find it compiles and runs on many systems without needing any major changes to get working. I believe Allegro is similar, assuming the cross platform parts have been added to the library, the program developer would then not have to worry as much about the cross platform parts. -scottmc