Hi,
I get a crash, when I call al_init().
Hoaven't programmed for a long time. Is it something obvious?
Here's the code :
{"name":"609070","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/1\/21629f69fb135a7cbe87f4c06b1058d8.png","w":416,"h":156,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/1\/21629f69fb135a7cbe87f4c06b1058d8"}
I can't read what's in the image, but the console shows "here 1" but not "here 2"?
It worked fine in C just now.
if( al_install_system(ALLEGRO_VERSION_INT, atexit) == false) printf("phooey\n"); else printf("yay\n"); return 0;
You probably have a different version dll than the version your program was compiled with interfering or you have mis-matched headers. Delete old dlls and re-copy new ones. Use Dependency Walker if you need to.
Thanks Arthur,
I worked out what's wrong.
When I declared the instance of the InitialisationClass which this constructor is being called for, I didn't call the default constructor. i think this was causing the problem.
Thanks.