I have a question about the data manager - basically, what's the deal
with DmWrite?  Is it really required?

Some of the SDK examples and the MemoPad tutorial edit a record
directly.  I've traced it a bit and DmWrite seems to be bypassed.  It
appears to me that the record handle is just being manipulated directly
using the memory manager.

I've been very dutiful about using DmWrite to place data in database
records.  However, there are some instances were it would be very
helpful for me to work directly with a record handle.  For example, we
have some apps that do field acquisition from hardware devices.  Some of
the data is pretty big, so we compress it and store it in a record.
Compressing into a record handle instead of a dynamically allocated
handle would save me a lot of precious dynamic heap space.

On the other hand, I don't want to compromise Dm data integrity or be
broken on the next OS release.  Is there an 'official' way to directly
edit a record?

Thanks in advance,
-jjf

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to