I mean I can't alloc a bunch of heap to use.

Yes I know I can open the DB and read/write with it, but in the specific
case
I have here, I'm actually beaming 2 records pieced together from 2 separate
DBs that have to be separated out into the 2 DBs again on the other side. I
could admittedly do this with 2 exchange sessions, but I don't want the user
to have to hit 'Ok' twice to get the job done.


Danny Epstein <[EMAIL PROTECTED]> wrote in message
news:31422@palm-dev-forum...
>
> "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