datamgr.c line:9573, Index out of range error in DmQuickSort

2003-03-21 Thread German Carizza
Hi I'm sorting a database with 23732 records separated in tree categories, 20126 to cat1, 3599 to cat2 and only 7 to cat3). I'm using the DmQuickSort function to sort cat1 and cat2 and datamgr.c fires this error: Index out of range in line 9573. Comparison function cat1 : UInt8 catInf

DmQuickSort Sorting large database

2003-03-25 Thread German Carizza
Hello, I cannot find exact information on how many records DmQuickSort supports. Sorting large database (23732 records)with DmQuickSort I get the message "DataMgr.c line 9573, Index out of range". Browsing the archive, I saw that some of you encountered the same problem, but I can't find any solu

RE: DmQuickSort Sorting large database

2003-03-25 Thread German Carizza
>>Hello, I cannot find exact information on how many records DmQuickSort >>supports. >Long, long ago (2 years?) there was a lengthy discussion about that. >I believe the answer is that is works correctly with up to 16K >records. >Regards, >Steve Mann Thanks Steve So, what can I do in my ca

How to check if a DB is sorted

2003-03-26 Thread German Carizza
Hi, I'm sorting a database on the app startup, but I don't want do that every time. I think that I can use the app's preference to know when the db is sorted, but I want to know if there is another way to do this. Thanks! German -- For information on using the Palm Developer Forums, or to unsu

convert #define number to const char*

2003-07-25 Thread German Carizza
Hi, I have this constant, #define CAT_CONTROL 7 I want to convert CAT_CONTROL to const char * and I don't want to do this: char cAux[2]; itoa(CAT_CONTROL ,cAux,10); I try to use a preprocessor operator: #define STR(x) #x But that doesn't work, because I obtain "CAT_CONTROL" like result.

RE: convert #define number to const char*

2003-07-25 Thread German Carizza
Thanks for your answer Bob, but I have a little problem becouse with #define STR1(x) #x the statement becomes "#7" I tired: #define STR1(x) [EMAIL PROTECTED] It's works fine but only with single digit values. And '7' isn't a const char * :-( Can you help me? Thanks again. German -Mens

RE: convert #define number to const char*

2003-07-25 Thread German Carizza
YES, that's right... I screw-up on my own code. Really thanks for your answer Saludos ;) German -Mensaje original- De: Bob Withers [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 25 de Julio de 2003 02:24 p.m. Para: Palm Developer Forum Asunto: RE: convert #define number to const char*

Install PRC/PDB files from conduit without Aide API

2003-10-15 Thread German Carizza
Hi, I want to install prc/pdb files into the Handheld from my conduit, but I don't want to use the desktop install tool. Any link or info about? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/