I finally got allegro installed in my computer. I tried it for MSVC++ and Borland 5.0 but there were always errors like unresolved external, missing '}' in allegro.h (??) etc. I got it now working for Dev C++ 4, but I can not execute some code now(It compiles correctly, but it crashes during execution)
The code is
Code:
#include <allegro.h>

int main() 
{ 
 // Initialize Allegro.        
 allegro_init();      

 // Set the resolution to 640 by 480 with SAFE autodetection.
 set_gfx_mode(GFX_SAFE, 640, 480, 0, 0);

 // Installing the keyboard handler.
 install_keyboard();

 // Printing text to the screen.
 textout(screen, font, "Hello World!", 1, 1, 10);
 textout(screen, font, "Press ESCape to quit.", 1, 12, 11);

 // Looping until the ESCape key is pressed.
 while(! key[KEY_ESC])
   poll_keyboard(); // This shouldn't be necessary in Windows. 

 // Exit program.
 allegro_exit();
 return 0;     
}     

// Some Allegro magic to deal with WinMain().
END_OF_MAIN();
At first execution it worked, but now windows gives error
Any help appreciated.(By the way, i'm using XP)