But how do I tell the new bitmap the address of the bits? The original
bitmap had discontiguous header and bits; hence, its header contained
an address at which to find those bits?

Saving that to a rec, and then later restoring it to a new bitmap gives
me the same header as before, that is, one that points to an invalid
address for the bits (where the original bits were, as opposed to where
they are now - in the record).

Thx^4
Alex


"SLO Revo News" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> You can get pointers to the header (the bitmap pointer) and the bits
> (BmpGetBits(?)) and copy them into your record similarly to what you
> were doing before. Then, when you read the record back, do the
> reverse: allocate a new bitmap, get the pointers, and copy the header
> and bits separately from the record into the new bitmap.
>



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

Reply via email to