Dave Mottorn wrote:

        TranDB = DmOpenDatabase(0, dbID, dmModeReadWrite);
        error = DmQuickSort(TranDB, (DmComparF *) CompareRecord,  0);
        DmCloseDatabase(TranDB);

        Int CompareRecord(char s1[],char s2[], int other){
                return(StrCompare(s1, s2));
        }






-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alexandre Luz Barreto Sent: Monday, April 05, 2004 8:39 AM To: Palm Developer Forum Subject: How to use DmQuickSort?


i�m trying to use this function but i don�t know how to use the second parameter i just need to sort by the hole record

how can i pass the DmComparF ?

can u give me a exemple of the function call?

thnx

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





Thanx a lot :)

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

Reply via email to