Hi everybody, I'm trying to do some manipulation with images and I do have a real problem with BitmapType. Whats wrong with this code snippet?
short unsigned int dw; static unsigned char bpx[sizeof(BitmapType) + 320 + 1024]; #define bp ((BitmapType *)bpx) bp->width = dw; it shows these errors in codewarrior: Error : illegal use of incomplete struct/union/class 'struct BitmapType' line: static unsigned char bpx[sizeof(BitmapType) + 320 + 1024]; Error : illegal use of incomplete struct/union/class 'struct BitmapType' line: bp->width = dw; I'm using PalmOS 5.0 sdk and seems to me that everything is ok (i have bitmap.h present and so on) Where can the problem be? thanks Tomas -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
