Ah, that makes sense. I did change some preferences around from the old version to the new. I'll give that a shot with the emulator. I also started using a version string preference, so I can migrate the preferences from one version to the next. Thanks.
--- David Linker <[EMAIL PROTECTED]> wrote: > > On Jan 26, 2005, at 5:49 AM, Mark Chauvin wrote: > > > I've got some users that are getting lock-up > errors on > > their Palms while running my program. A typical > error > > says Memory manager, null pointer, press reset. > It > > seems random and I can't recreate it. This has > > happened after they've upgraded to the latest > version > > of the program. Is it possible some fragments of > the > > old program are still there? > [snip] > > Thanks. > > -Mark > > In a word, yes. > > I had a similar problem, and have a few suggestions. > > The first is to try installing the old application > on the emulator, run > it, and then install the new version on the emulator > and run it. In my > case, this was able to reproduce the error, and > allow me to isolate it. > > The second is that my error was due to application > preferences. I had > changed the content and usage of the preferences, > and this caused a > crash when the new program read old preferences and > tried to use them. > I tried to get the version-control of preferences to > work, but was > unable to, and ended up adding my own version string > to the beginning > of the preferences, reading it only, checking it, > and only using the > preferences if I got a match. > > The third suggestion is to suggest that the users > try deleting the old > application before loading the new version. This > should delete any > residual pdb's or preferences. In any case, it may > provide a > work-around for them. > > Let us know how it goes. > > DTL > > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see > http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
