Thread: yet another allegro & dev-C++ error

  1. #1

    yet another allegro & dev-C++ error

    Well I got it to work now. It compiles perfectly. The only problem is, whenever I try to do anything with bitmaps, the program just quits. As soon as I get to the part where I use create_bitmap(), or blit(), the program just stops and returns to windows.

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    31

    Talking Man oh Man

    It seems to me that me and you are kind off having that same problem. Because i tried loading my Bitmap and when it reaches that code it quits for some reason. Try posting your code here and im a try and see whats wrong.
    - Read to Learn, and Learn to Read -

  3. #3
    *Entering twighlight zone*

    I don't know what's wrong. I was using code from DJGPP, now I made a new project and it works!

    *Leaving twighlight zone *

  4. #4
    Okay I had part of a space shooter ready, and I was going to upload it here. I was using the regular bitmap files and loading them. Before I was going to upload my program, I was going to make it use datafiles instead of external bitmaps. As soon as I tried using datafiles, the screen would flash black then just shut down and return to windows.

    Please look through my code and look at the problem. I know it's ugly, but please bear it. I commented on it a little, but I was rushing a bit so I could try to get it done by easter, but now I can't.

    If you get this error worked out I'll put you in the Special Thanks To in my game if you like.

  5. #5
    post your code too opengl15.

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    31

    Unhappy I dont

    I dont have my code for the Allegro thing it was a long time ago.
    - Read to Learn, and Learn to Read -

  7. #7
    well didya look at my code yet to see what is wrong?

  8. #8
    pojokunam
    Guest

    Post Allegro

    I am running Win2k w/MSVC++ and blit and create_bitmap work perfectly for me.

    Did you select a color depth that requires a pallet and if so did you selecct a pallet?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. error: template with C linkage
    By michaels-r in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2006, 08:11 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM