Save CDC as Bitmap File

I've run the codeguru solution and it's great, but only in 256 colours. I need it to work 8, 16 and 24 bit.

Thank you in advance!
LVL 1
jhattinghAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lif081199Commented:
Correction for 16bit and 24 bit color mode :

Error comes from WriteDIB. You can modify WriteDIB by calling a function called SaveDIB. SaveDIB is in
"DibApi.h" and "DibApi.cpp" from VisualStudio 6 sample
called DibLook.

Good Luck,
Lionel.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chensuCommented:
SeedIB.exe Shows 16 and 32 Bits-Per-Pel Bitmap Formats
http://support.microsoft.com/support/kb/articles/Q94/3/26.ASP
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.