DIB bitmap

J

Jim Hubbard

Does anyone know how to delcare or convert a bitmap to a DIB bitmap?

I am writing a drawing control that creates a bit map. I want to return the
bit map to an ACCESS report. When the bitmap comes over ACCESS says
"Specified bitmap not a device-independant bitmap" and quits.

I have done some reading and it seems to need some hpalette pointer
information which I am unsure how to supply.

Thanks in advance,

Jim
 
H

Herfried K. Wagner [MVP]

* "Jim Hubbard said:
Does anyone know how to delcare or convert a bitmap to a DIB bitmap?

I am writing a drawing control that creates a bit map. I want to return the
bit map to an ACCESS report. When the bitmap comes over ACCESS says
"Specified bitmap not a device-independant bitmap" and quits.

"Post code!"
 
A

Andy Mortimer [MS]

You should be able to find sample code for what you want to do here
http://www.codeguru.com/bitmap/index.shtml

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script

sample in your post please add "Use of included script samples are subject
to the terms specified at

http://www.microsoft.com/info/cpyright.htm"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top