At 12:00am -0800 00-04-07, Palm Developer Forum digest wrote:
>Subject: TxtGlueReplaceStr, 3.0 debug ROM and IntlDispatch crash
>From: Laurence Lundblade <[EMAIL PROTECTED]>
>Date: Thu, 06 Apr 2000 11:13:20 -0700
>X-Message-Number: 53
>
>I'm trying to use TxtGlueReplaceStr with PalmOSGlue.Lib. Everything works
>fine on PalmOS 3.3, but I get a crash with the Palm 3.0 debug ROM
>complaining that the trap for IntlDispatch is not available in the ROM
>version. That is trap A2AB. Actually it doesn't seem to crash when there
>are no substitutions to perform. I've checked the link map and stepped into
>the assembly code and such so I've definitely got the glue code for
>TxtGlueReplaceStr linked in properly. Trouble is that this glue code seems
>to want to use trap A2AB.
>
>My assessment is that PalmOSGlue.Lib is busted. It shouldn't be trying to
>use that trap.
You, sir, are correct.
>Is there another PalmOSGlue.Lib version?
Not yet.
>Should I be doing something else to tell PalmOSGlueLib it's running on
>PalmOS 3.x?
Nope.
On 1999/02/03, a seemingly innocuous change was made to the set of
header files used to compile the Text Manager code, and this resulted
in Text Mgr routines calling other Text Manager routines through the
IntlDispatch trap (A2AB), versus direct calls. So now, even when the
Text Manager code is being compiled for PalmOSGlue.lib, the following
routines will (potentially) try to call the unimplemented A2AB trap
on pre-3.1 ROMs:
TxtGlueReplaceStr
TxtGlueParamString
TxtGlueStrEncoding
TxtGluePrepFindString
I'll see what I can do about getting a fixed version of PalmOSGlue
posted to the developer web site asap.
Thanks for the report...
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html