Menu

Dev++/bimap/Allegro

2002-09-11
2012-09-26
  • Nobody/Anonymous

    I'm trying to load a bimap with allegro

    BITMAP *my_pic;
    my_pic =load_bitmap("laberge.bmp", NULL); 
    acquire_screen();
    blit(my_pic, screen, 0,0,0,0,480,360);
    release_screen();

    The tutorial say that load_bitmap("Location of the bitmap", pallete);
    But how do you indicate the location? Is it load_bitmap("c:..."). I've try to use the edit resource file but no success because I don't know how to use it.

    Thanks

    cognacd

     
    • Nobody/Anonymous

      I believe "C:\\Dir1\\Dir2\\file.bmp" should work

      Curtis

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.