one last thing i wanted to ask, i seached for gDeviceP and i got a real good
explanation from ardiri about the new equivalents under 3.5. however i am
having trouble with his explanation about getting the 

dDeviceP->baseAddr

he tells you concat the first two elements of bitmapP to get the equivlent.
the first 2 elements are 
Int16 width;
Int16 height;

so would i concat them as charPtr's? and then cast them to voidPtrs? right
now i substituted all the correct structures and things compile smoothly,
however this line in GetSignatureBitmap is giving me trouble. when i run the
emulator crashes on this line.

MemMove( (Ptr)((UInt32)(theBitmapPtr) + sizeof(BitmapType)), 
        
theWindowHandle->displayAddrV20, (theRowBytes * theHeight));

i don't think i am moving the correct bytes over. or getting the baseAddr by
using the displayAddrV20 element. the original line in the old signature
went like this...

MemMove( (Ptr)((UInt32)(theBitmapPtr) + sizeof(BitmapType)), 
        
theWindowHandle->gDeviceP->baseAddr, (theRowBytes * theHeight));

how would i specifically get this gDeviceP->baseAddr working for the palmOS
3.5





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

Reply via email to