yet another allegro & dev-C++ error

This is a discussion on yet another allegro & dev-C++ error within the C++ Programming forums, part of the General Programming Boards category; Well I got it to work now. It compiles perfectly. The only problem is, whenever I try to do anything ...

  1. #1
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552

    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
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    *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
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    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.
    Attached Files Attached Files

  5. #5
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    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
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    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, 02: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, 09:11 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 09:39 AM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21