i set up the visual studio for dynamic linking
and when i compile the source i get a error in END_OF_MAIN();
how can i fix it?
sorry about my english
Can you post the code you are trying to compile? Also, have you remembered to add alleg.lib to the list of extra libraries?
#include <allegro.h>
int main(void)
{
allegro_init();
allegro_message("Hello World");
return 0;
}
END_OF_MAIN()
this code
a test , because , the laqst week i was using visual studio 98
i depend all libs
alleg.lib, alld.lib and allp.lib
Can you post the exact error? Also, you only need to include alleg.lib as extra libraries...
Also, you only need to include alleg.lib as extra libraries...
Should, actually - or you'll get duplicate definitions.
a screenshot of the error
That's a runtime error, not a compiletime error.
By the way, you may want to upgrade to Allegro 4.2.
Seeing as you're in debug mode, step into the code and do a screenshot where the exception happens.
Neil.