Sign in to follow this  

[SOLVED] suggestions on building event mechanism in allegro

This topic is 3663 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

System: VisualStudio 2003/C++ Hi. I'm trying to build event-driven mechanism in allegro. I had in mind to build EventManager thread object witch would process any specified event. But I can't use CreateThread or WaitForMultipleObjects because that functions are specified in "windows.h" and If I try to include it, the BITMAP struct specified in allegro will collide with windows-one. Any idea on how to build event-mechanism without win32 thread functions? Or at least how to fix this BITMAP collide error? I'm using standard win32 console project and I had to
#define USE_CONSOLE
to get rid of "error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup" linker error. [Edited by - Odiee on December 5, 2007 2:57:24 AM]

Share this post


Link to post
Share on other sites

This topic is 3663 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this