Hi,
Has anyone has a lot of experience with SysAppLaunch.
(and/or PalmPrint!).
We're trying to use PalmPrint and we're getting Fatal Exceptions
and all sorts of errors from the SysAppLaunch routines. I runs
ok on the emulator, but craps out on the real thing.
If we #define out the SysAppLaunch can run the application with
gremlins to 100,000 steps no problem. We made sure we're not
using any globals and have cast all the parameters. The code
base we are working on is getting fairly large (55K), and we're using
GCC with Islands (will move to Code Warrior after current release).
We've attempt to contact the authors of PalmPrint (Stevens Creek),
but haven't got much joy. We're testing on an unlicensed copied - we're
waiting on a license ordered two days ago....to see if this is the problem.
This example is below is before we cast everything and removed all globals.
The following is the first call to SysAppLauch after getting the dbID.
Are GCC Callbacks require when using SysAppLaunch?
// Force a fixed font
if ((err = SysAppLaunch(0, g_dbID, 0, PPLC_FORMAT_MONOSPACE, 0, & g_resultP)))
THROW(PRINTERR_CANNOT_SET_MONOSPACE_FONT);
// Extract Chars/Line
if ((err = SysAppLaunch(0, g_dbID, 0, PPLC_CHARS_PER_LINE, (Char *) &
g_charsPerLine, & g_resultP)))
THROW(PRINTERR_CANNOT_EXTRACT_CHARS_PER_LINE);
Any ideas would be very welcome.
It was working (sort of) then started crapping out with Fatal Exception everytime...
Regards,
Hamish