Okay, I have switched to OS 4.12 and now have two more questions having to do with the debug version.
1) It appears whenever I load the app from the debugger, I get the following error: UIAppShell (unknown version) called SysFatalAlert with the message: "DataMgr.c, Line: 8638, Records left locked in closed unprotected DB". 2) When I exit the app to the launcher, I get the above message and occasionally I also have got something very similar but starting from "Applications (4.0)" (or something like that) after getting the previous error. 3) If the text length is zero and FldSetSelection is called, it gives me the following error: "MyApp (1.0) called SysFatalAlert with the message: "Field.c, Line: 5633, Bad field selection". Concerning the above: 1) I found in the archive that the solution is to "Upgrade to the newer DebuggerNub included in the Palm OS 3.5 SDK, or simply press "Continue"." Hmmm, I already am on that SDK . . . or at least I think I am. I will have to double check. 2) Again in the archive, I see "As the message says, records or resources haven't been unlocked before their database has been closed. If an application continues to read or write the data in that record or resource, it is at risk because another application could delete the database which would make the pointer invalid, even though it was locked." The only DB that I am using is with the PrefGetAppPreferences() & PrefSetAppPreferences() calls. Nothing else. What else do I need to do? I do not see anything anywhere to fix this. I just like very clean code. 3) I saw in the archive, "FldSetSelection will display this error on a debug ROM if you pass it a starting or an ending offset that is greater than the length of the text in the field." In my case, I was asking to select from the beginning to the end. I would not think this should cause an error. However, to get around this, I put in code to always check for some text length before setting the selection. Another side question . . . how many events is recommended to be able to say that it passes Gremlin testing? I have ran it over two million events twice . . . once I found my computer all locked up and another time I had to reboot as everything in the debugger looked strange. So, I wonder if after all that time, Windows is messed up and in need of rebooting anyway. Thank you, Thomas -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
