Bus Error ~= General Protection Fault
Make sure you allocated enough memory to Graphic and fields (don't forget to
add 1 to include NULL).
----- Original Message -----
From: "cpssband cpssband" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 2:41 AM
Subject: Bitmap type in Palm database
> Hi, everybody:
> i have developed a palm application where the database
> contain a list of strings record + 1 bitmap record ..
> how to define my database structure, initially, i
> define it as
>
> typedef struct {
> char *fields[FieldsCount];
> BitmapPtr Graphic
> } TestDBRecordType;
>
> however, i successfully save my bitmap to database ,
> however, when i retrieve it in another procedure , it
> give me 'Bus error ' message ..
> what does it means ?
> i guess i have defined wrongly the field type of my
> Graphic ... Please help
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/