Hello..

I'm not good at CW developement environment, but I can use C.
I want to use C standard library in CW.
I find out MSL is the library supports standard ANSI C.

I tried to to it as such...

        Char temp[5];
        sprintf(temp, "%3d", eventP->screenX);

But it doesn't work, I don't know why there's a link error.
'sprintf' is undefined

I did include MSL C library in the project.

        StrPrintF(temp, "%3d", eventP->screenX);

But the above StrPrintF worked.
It is compiled well, and linked.

I tested it in Palm OS version 2 rom.
"StringMgr.c, Line:949, Unsupported"...
I must reset the Emulator.

But in Palm OS 3 rom, It works fine.

Question :
        Can I use stand library in CW ?
        what's the matter with StrPrintF in Rom version 2 and 3 ?

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html.

Reply via email to