>I get the message "Sign extended character passed to StrChr()" after about
>100,000 Gremlins events (w/OS 4.0).  I've looked in the 3.5 source and see
>one check for an extended character that will result in the message "bad chr
>passed."  I can't recreate this outside of Gremlins.
>
>Does anyone know what causes this message and/or what a sign extended char
>is?  Is it char > 0x00FF?

The archives should contain a fairly recent discussion of how sign 
extension can accidentally happen. Note that the Char type is a 
signed 8-bit value, while a WChar is an unsigned 16-bit value.

-- 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.palmos.com/dev/tech/support/forums/

Reply via email to