Hello

I'm trying to write a small app that will tell me the color palette of a BMP (not the number of colors, the color values themselves and their positions). I've been playing with bmiColors and GetDBIColorTable with no sucess. What's the easiest way to do this??

And a bonus question...

If a given BMP has 5 colors are they going to be the first five colors in the palette? or will they be randomly placed in the palette (up to 256)?

Thanks for any help at all.

- Jake