DmFindSortPosition still not working. The old (last week) version of this program runs properly. So, the compiler (PocketStudio) and POSE are working.
The only problem is DmFindSortPosition causes an error. The record pointer is valid. The last message in POSE debug is: "PilotMain: cmd=5, flags=0" <<< What does 'cmd=5' mean? I can't find it in the documentation. Any help would be greatly appreciated. Blair Kingsland "Blair Kingsland" <[EMAIL PROTECTED]> wrote in message news:74938@palm-dev-forum... > > When I add or modify a DB record, I use DmFindSortPosition to find the right > record position. This function was working properly. > > I did not change any parameters in DmFindSortPosition or the compare > function. Now, DmFindSortPosition gives the POSE error: > "executed an illegal or unknown machine language instruction. The opcode > executed was 0xFF00." > > If I reset the POSE and delete the program, then restart and create one > record. OK. When I add a second record, DmFindSortPosition does not give an > error, but returns the index "222". But there's only two records in the DB. > What does this mean??? > > The rest of the program runs properly, including writing new records and > sorting the DB. It's just the DmFindSortPosition function that returns an > error. > > I'm stumped on this one. Any help would be appreciated. > > Blair Kingsland > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
