I have a Palm application where I use StrCompare to sort strings for the purpose of ordering them in a PDB. I also use the StrCompare in a binary search routine.
I have a conduit developed with Delphi in which I sort records prior to inserting them into the PDB (so that they are already ordered after Sync). However, I have established that the sort order on the Palm platform is different from sort order in Delphi. This means that my binary search falls to pieces. This is due to the string comparison functions not working the same. What I have to do is to build a sorting function in Delphi that exactly matches that on the Palm platform in order to sort in the same way. Can anyone please explain exactly how StrCompare works? I know it is on a char by char basis, but what is the ordering of the char codes it uses? Currenty the app is supported under Palm OS 3.5 and up. At the moment it is in use only in South Africa. Thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
