I am confusing with MSL lib on CW.
I create a test C project with MSL C/C++, and put the following code into it
( the main .c file )
void test();
void test()
{
char message[1024];
sprintf( message, "%d", 1 );
}
It is compiled without error.
But if I put the two lines "char message[1024]; sprintf( message, "%d",
1 ); " into function MainFormInit then the compiler gives me an error
testmsl.c : 'sprintf' referenced from MainFormInit.
Could somebody shed some light for this error ?
Thanks,
Vu
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/