BitmapPtr is not BitmapType! Storing a pointer in
database doesn't help you at all, because when you
retieve it back it may be not valid (especially when
quiting the application). Storing BitmapType is also
bad idea. I think the best is to store the id of the
bitmap and to get it from resource in the reading
procedure.

Georgi

--- cpssband cpssband <[EMAIL PROTECTED]> wrote:
> 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/


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

Reply via email to