I got my first app written and it actually works except for two not so
small problems.
No matter what I try I always get a buss error on the return of my
appstop function. It doesn't appear at any specific function it occurs
in the debugger when control returns to the app eventloop.
Appstop reads like this:
static void AppStop(void)
{
StarterPreferenceType prefs;
FrmCloseAllForms();
PrefSetAppPreferences (appFileCreator, appPrefID, appPrefVersionNum,
&prefs, sizeof (prefs), true);
DmCloseDatabase(SpatchwareDB);
DmCloseDatabase(SignatureDB);
}
I've checked several times to see that nothing is freed twice etc. The
app switched forms no problem so I think the FrmCloseAllForms call is
okay and it does the same thing with the PrefSetAppPreferences removed so
it would seem to be okay there too. Are there any other things I should
be on the lookout for?
The other problem I have is in the clipping of a signature box a the
bottom of the screen. I was convinced that this was a bug in my code
until I downloaded the Signature ++ app from the palm website . It
performed with exactly the same flaw. That is when the pen is moved out
of bounds the pilot will somtimes draw a line that is completely wrong
(rotated by 90 degrees or so. Is there some way around this or is this
some I'll have to live with or???
TIA
Nic Thomson