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
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
>>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
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
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.
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
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*
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/