I have created a object hierarchy using C++ in a Palm OS program.  It uses
inheritance, and virtual functions.  It is about 4 to 5 levels deep using
inheritance.  The user interface is dynamically generated at run time.  I am
running into strange problems that don't make sense.  One example is that
when I use a call back draw function for a popup list box, it works fine for
lists of 4 or fewer items.  Once I have 5 or more items in the list, I get a
memory error when I try to add a label immediatly following the list.  If I
build the list in memory and don't use the callback, it seems to be fine.

My question is, should I avoid inheritance, virtual functions, polymorphism,
etc.. for Palm OS programs?  Thanks.

Tim Dean



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

Reply via email to