I sample a pixel with dbPoint to a DWORD, then I clean it to keep the color data :
couleur = couleur&0x00ffffff;
On all tested machines (many! This code has been there for almost two years!), this works.
But I have one customer on whose machine the pixels aren't the same color! Here's an example, A being normal, B being him...
A:111111110000000000000000
B:111111101111111000000000
A:000000001111111111111111
B:000000001111111011111110
It seems the last bit of some bytes have problems. Does that mean anything to anyone?!
Jonathan