The documentation is unclear about using DmResizeRecord() with other functions, 
so...

How do I use DmResizeRecord()? It returns a new handle; so, does that handle 
work like the handle returned by DmGetRecord() or DmQueryRecord()? Does it set 
the busy bit? Must I use DmReleaseRecord() after use DmResizeRecord()?

Another question: if I want to resize and write to the record, what is ther 
order of functions calls?

e.g:

recH = DmResizeRecord(...);
recH = DmGetRecord(...);
recP = MemHandleLock(recH);
DmWrite(...);
MemHandelUnlock(recH);
DmReleaseRecord(...);

or 

recH = DmGetRecord(...);
recH = DmResizeRecord(...);
(...)

or 

recH = DmResizeRecord(...);  //working as DmGetRecord(), setting the busy bit.

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

Reply via email to