I read the digest, so maybe I missed a reply saying the same thing.
Although the problem is of some interest and warrants discussion,
I would suggest that you just avoid running into the problem in the
first place.  Unless you are trying to test the compiler behavior:

Rather than:
        StrPrintF(display_string, "%s:%c:%s", "str1", 'R', "str");
Would you not write:
        StrPrintF(display_string, "%s:R:%s", "str1", "str");
Or better yet:
        StrPrintF(display_string, "str1:R:str");
Or even better use StrNCopy.

Certainly, these suggestions do not apply when using variables.

daniel



-- 
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