At 10:29 AM 5/22/00 +0200, you wrote:
>Does anybody know if I could get any problem with my conduit if I save my
>data in objects instead of stucts or strings in the Palmdatabase? Does c++
>add some bytes to keep track of the fields in an object?
>

All objects get a vtable added to the front of the "structure" they are
stored in, but this is not your major concern - if you are moving from a
machine that does not have the same endianess as the palm, an objects
become corrupt.  The same will be true if you move from a machine with a
different word size, regardless of the endianess.  There may even be
differences between the C++ runtime on the Palm and any other OS (I'm not
saying there are, just that there could be - it's not a safe assumption to
make).
If you are never going to use the objects on the Palm, i.e. only within
your conduit, you can do whatever you like.


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

Reply via email to