Greeting,

Err DmFindRecordByID(DmOpenRef dbP, UInt32 uniqueID, UInt16* indexP);

I am trying to use the above api to query the database.  However my app
ID actually defined as a C string/char[].  I have tried to cast or
without cast my id string to be UInt32, either works.  I was wondering
that I might misuse/misunderstand  this api.

How to make it work?  Do I need to sort the database or define a compare
function prior to calling the above api ?  If not, is it the same as
loop through all the record and do the comparison myself from
performance's perspective?

Please share your knowledge if you have answer on this.
Thanks in advance.
C.


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