I can't seem to get a bus error with the following: char buffer[10 + 1]; int i = 1;
StrPrintF ( buffer, "% 2d", i ); WinPaintChars ( buffer, 2, 85, 22 ); I only actually get the bus error when WinPaintChars is called (or even if i replace it with printf) If however I change StrPrintF: StrPrintF ( buffer, "%02d", i ); everything works fine. Any ideas? thanks, paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
