The code from the book should be fine. Basic database programming hasn't changed for a long time...My application works sometimes and then gives me a Fatal Error screen other times. Do I have to do something special to get a database working on OS5.2 or a T3 other than what was shown in the book? Do I have to tell Code Warrior (my development platform) I'm coding for an ARM processor when compiling?
Your application will need to be compiled into Motorola 68k code even on an ARM device. The ARM device runs an emulation environment called "PACE" that will execute your code. Writing a native ARM application is not officially supported on OS 5.2. I am suspecting you are just making some kind of normal C/C++ programming mistake, like an uninitialized pointer. CodeWarrior comes with a wonderful debugger that can debug your application either on the real device or on the Simulators/Emulators that come with CodeWarrior. I suggest you try to reproduce your problem on the POSE Emulator with all debugging options turned on and the CodeWarrior debugger connected to it, and a proper debugging build of your software. This should allow you to pinpoint the problem in no time.
Thanks in advance for your assistance.You're welcome.
Tilo
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
