>Running PalmOS40dr5-en-vz-wca16edbg.rom under Poser 3.1, with the VZ device
>selected, I get this assertion when calling GetCharAttr().
>
>"TextTable.cpp, Line: 1871, Incorrect text table version".
>
>Is this someone's way of telling me to use the TxtCharIs macros?
>
>David Kendall
>Ultrasoft Limited

Or, at least, TxtCharAttr.

AFAICT, there's a low-memory global that both GetCharAttr and 
TxtCharAttr access.  This low-memory global contains a pointer to one 
of three kinds of tables.  TxtCharAttr is smart enough to know how to 
check which kind of table it is.  GetCharAttr, however, assumes that 
it is only one kind of table.  When it attempts to access that table 
in a fashion appropriate for the assumed format, it will display the 
error message you give when the table is in one of the other formats.

Or so it seems.  I'm no expert on this stuff.  I just read source 
code.  If I'm wrong, I'm sure Ken Krugler will dive in here and 
correct me (with one of his patented "1. 2. 3. ..." e-mails!).
-- 

-- Keith Rollin
-- Palm OS Emulator engineer

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

Reply via email to