Ok, then, how do you write an entire record (structure) at once?


>At 10:24 PM -0700 11/22/99, John Spicer wrote:
>>I'm attempting to initialize a new record created for the db.
>
>You can't write to the storage heap (Dm memory) except through the Dm API.
>The primary routine to use is DmWrite. This is done to protect the storage
>heap from damage due to errant applications (and hacks). The simulator
>doesn't enforce this restriction, but the emulator and device do. What you
>may want to do is build an image of your new record in the dynamic heap
>and then copy it all into the new record in the storage heap with a single
>call to DmWrite. That will reduce the overhead. However, if your records
>can be large, this technique isn't advisable.
>-
>Danny Epstein, Applied Thought Corporation
>Have friends with Palm organizers? Get BeamBooks!
>http://www.appliedthought.com/beambooks


____________________________________________________
John Spicer
H: (780) 903-6224
____________________________________________________
<mailto:[EMAIL PROTECTED]>
____________________________________________________
Author: MakeItGrow, MacLotto, TiCalendar, MacBillman,
Image-In Engine, TiCalendar, DrugMaster, MacDirectPay
If you want to work on your computer, buy an IBM.
If you want to DO work on your computer, buy a Mac.
____________________________________________________


Reply via email to