At 01:30 PM 3/4/2004, you wrote:
In Palm OS 4.0, we can create a bitmap larger than 64K. But how can we
access the bits data directly?

I tried BmpGetBits, but the access beyond its 64k failed.

What tools are you using? How are you trying to do the access? If you are treating the bitmap as an array of chars, make sure that the index expression is typed as a long, i.e.


val = bitmap[(long)i];

since treating i as an unsigned int would cause the problems you see.


-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to