From: "Thomas Ward" <[EMAIL PROTECTED]>
> When I try to execute the following statement:
> StrPrintF(display_string, "%s:%c:%s", "str1", 'R', "str");
> I get an error: "my application (version) has just written directly to
> memory manager data structures."
> The problem seems to have something to do with the 'R' character I am
trying
> to substitute, because:
> StrPrintF(display_string, "%s:%s:%s", "str1", "R", "str2");
> works correctly.
This seems backwards to me. I'm using CW with palmos35-dr4-en-color.rom.
Using 'R' with "%c" works as expected; using "R" with "%c" causes a bus
error, which is not unexpected since "R" is actually 2 chars long and that
confuses StrPrintF. Maybe someone familiar with GCC knows what compiler
options could be causing your problem?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/