By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

DIB bitmap

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "Jim Hubbard" <ji*********@pacbell.net> scripsit:
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!"

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a
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"

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.