"Chris DiPierro" <[EMAIL PROTECTED]> wrote in message
news:31419@palm-dev-forum...
> The new problem I'm having is that I can't alloc space dynamically w/o the
> app running, but I suppose that makes sense. What a pain...

I'm not sure what you mean. You can get read-write access to your database
by directly accessing a global variable containing its DmOpenRef when your
app is running, and opening the database (using a temp var to store the
DmOpenRef) when your app isn't running. You should be able to resize records
in either case.

The fact that you can't rely on the length field getting transmitted means
that the receiver often has to dynamically grow the object (record) as it's
being received. If you can control the data format, you can arrange for the
length to be at the beginning of the data, but most "interchange" formats
don't include a length prefix. We generally recommend that you use some kind
of standard format for your data, if one exists.
--
Danny Epstein
OS Engineer, Palm Inc.


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