At 05:51 AM 11/24/2003, Jeremy wrote:
I'm having a strange problem with WinDrawChar.  It works fine with other
characters in stdFont, but with some of the less common characters such as
'�' and '�', I get the following error:

called SysFatalAlert with the message:  "TextMgr.cpp,
Line 2723, Sign-extended char passed to TxtSetNextChar

WinDrawChar (c, position + bounds.topLeft.x, y);

your 'c' variable is a Char. Make it a WChar instead, or cast it to WChar in the call, i.e.


WinDrawChar ((WChar)c, position + bounds.topLeft.x, y);



--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to