Hi all ye Palm techies
I am somwhat worked up over the Signature Sample which converts a signature into a
bitmap. A couple of postings on this fetched me no reply :(
Pl. have a go on this:-
the code says ;
theWindowHandle->gDeviceP->baseAddr
when it moves offscreen bits into the bitmap.
theWindowHandle is of type WinHandle. and WinHandle is defined as typedef WindowType *
WinHandle;.
But the problem starts here. There is no body called gDeviceP who lives in the
WindowType structure. Instead we have a probable relative called bitmapP of type
BitmapPtr. But bitmapP also doesn't have baseAddr in it.
The question is where on earth is gDeviceP and if is non existent how do I get the
base address( bit array) of the bitmap.
The Emulator gets very angry when I try to move the offscreen bits into the bitmap
using theWindowHandle->bitmapP instaed of theWindowHandle->gDeviceP->baseAddr and
gives memory errors( trying to access invalid chunk ptr)
Thanks a lot for the help
regards
____________________________________________________
http://www.monsterindia.com - The Best Jobs. For the Best Minds.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/