Ben, Thanks for the reply! I think I understand what your getting at. However, I don't know how to separately dump the bitmap header and bits. I thought it was just a simple task of doing the following DmWrite call:
rc.Write(nOffSet, (BitmapPtr)sig->m_bmpPtr, nLen3);
The Bitmap is created by the following call:
m_bmpPtr = ::BmpCreate(m_rect.extent.x, m_rect.extent.y, nDepth, NULL, &err);
Why would this code work on a 4.1 OS Palm but not on a 5 OS Palm? Also, how do I separate the bitmap header and bits.
Read the calls in BmpGlue.h and also ready the KB article on OS 5 high density at
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=341
Specifically, the part on "BmpCreate" is really useful, and tells you why the header is separated from the rest of the bitmap. The KB article comes with code to do a lot of what you want to do.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
