I've never heard of anything like this. The problem seems so "odd", as you
appropriately put it. That's the only difference you see? And everything else
is the same? You're using the same ROM image? You're emulating the same device
with the same RAM size? Is the 'pose' binary the same -- or was it compiled
separately on the two machines? If the latter, was the same compiler used?
Could there be some code generation problem?
If I were faced with the same problem, I'd be working to find out why r and
bounds are apparently incorrect. I wouldn't want to shoot blindly by replacing
seemingly unrelated libraries.
-- Keith Rollin
-- Palm OS Emulator engineer
Simon Drabble <[EMAIL PROTECTED]> on 01/17/2001 07:11:21 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Simon Drabble <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: odd behaviour in pose
Running pose on my home Linux box (Suse 6.4, kernel 2.2.14) I have no problems
(well, except those caused by my code :) ).
Running on an almost identical machine (identical except for the X server &
libX11) pose does not get the row & bounds parameters correctly in table draw
data callbacks:
static void DrawMainTableItem(VoidPtr table, Word r, Word c, RectanglePtr
bounds)
Stepping through my code in gdb, r is always 0 and bounds always the top row
of the table -- I have multiple tables on different forms using different
callbacks, and the values are always the same. Also for table load data
callbacks.
Not sure what might be causing this, although the near-identicality of the
two machines tends to point the finger at X somehow being at fault.
Has anyone else encountered this? is there a fix? I guess I could copy over
the relevant X server and libraries but I'm only willing to do this if
absolutely necessary.
Simon.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/