I know my DmComparF function is working fine because it works on
DmQuickSort().  It has to be something to do with what I'm passing it as the
new record to find a place for.

Here's the lines of code that deal with that.

<<<CODE>>>
 PackedPatientType *packed;
    ...
 newIndex = DmFindSortPosition(db, &record, NULL, (DmComparF *)
&DB_ComparePackedRecords, NULL);
<<<END>>>


The following works fine:

<<<CODE>>>
 DmQuickSort(gDB, (DmComparF *) &DB_ComparePackedRecords, NULL);
<<<END>>>



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