I guess there is a version check before the OS 4.0 trap is called. The glue functions will call the API traps, when the OS version is sufficient. Download the emulator and the rom files and test your game with them.

Regards
Henk

Ed Pugh wrote:
Hi.

I recently wrote a game that I thought should work on PalmOS
2.0 onward.  (The program uses PrefGetAppPreferences and
PrefSetAppPreferences which are the only OS 2.0 APIs; all
the rest should be 1.0 APIs.)  However, I just ran CheckPRC
1.3 on it for the first time and was annoyed to learn that
there seems to be a PalmOS 4.0 trap: sysTrapAccessorDispatch
(0xA3F4).

The comment in CoreTraps.h says:  "New trap for accessors
available thru PalmOS glue."  Well, I do call a PalmOSGlue
function (FrmGlueSetHelpID), but I always thought that all
glue functions were supposed to be able to run on all
earlier PalmOS versions!  (Is that not the main purpose of
the OS Glue library?)

What is this "AccessorDispatch" function?  Will my program
not work, then, on OS's earlier than 4.0?  If not, then how
do I "safely" change a form's HelpID on all OS's from 2.0
onward?

I do not have any Palms available with OS's earlier than 4.0,
but I was hoping to release the game to the general public and
declare 2.0 as the minimum required OS.  (That was the reason
I ran CheckPRC on the software.)

Thanks and regards,

Ed.



--
-------------------------------------------------------------------------
  Henk Jonas
  Palm OS Â certified developer

  [EMAIL PROTECTED]                                   www.metaviewsoft.de
-------------------------------------------------------------------------

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to