At 09:24 AM 11/18/2003, Matthew Henry wrote:
> Error   : illegal use of incomplete struct/union/class 'struct
> BitmapType' line: static unsigned char bpx[sizeof(BitmapType) +
> 320 + 1024];
>

#define ALLOW_ACCESS_TO_INTERNALS_OF_BITMAPS

That can work if used at the right time. The fundamental problem is that BitmapType is an opaque type. This means you can't access the internals of it, and you can't even know how large it is, as that means knowing what is inside it.


You ought to look at the code in the PalmSource knowledgebase for manipulating bitmaps in a OS 5 safe manner.


--
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/

Reply via email to