Does windows XP handle color depth differently than ME or 2000?

This is a discussion on Does windows XP handle color depth differently than ME or 2000? within the Windows Programming forums, part of the Platform Specific Boards category; I'm just starting programming with Direct X and I'm trying to just display a bitmap image on my primary surface ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    1

    Question Does windows XP handle color depth differently than ME or 2000?

    I'm just starting programming with Direct X and I'm trying to just display a bitmap image on my primary surface at this point. When I run the code on any other platform 98, ME, 2000 the image comes out perfect but any xp machine the image is wider than it should be and the colors are wrong as if it's reading the color bytes at the wrong color depth. Both the bitmap and my primary surface are at 24bpp.

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    >Both the bitmap and my primary surface are at 24bpp

    Can you set it to 32bpp? If the problem goes away, it sounds like a bug. Dunno. Just guessing out loud.
    Last edited by Davros; 11-05-2002 at 06:46 AM.
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

    BigAngryDog.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  2. Windows XP look
    By Devil Panther in forum Windows Programming
    Replies: 6
    Last Post: 11-05-2006, 04:38 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 03:58 AM
  5. windows xp and aol (im's)
    By rickc77 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-26-2001, 07:50 PM

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