include unix/unix_stdio.h or StdIOPalm.h or simply use StrPrintF

markus dresch (www.palmside.com)


"Markus Reichart" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi.
>
> I've started a project WITHOUT MSL support.
> Now I'am forced to inculde non Palm OS optimized C code.
> Added MSL_C++_PalmOS_2i(_Dbg).lib manually to my project and...
>
> My code looks like:
>
> #include <stdio.h>
> void test(void){
> unsigned char buf[250];
>
> sprintf((char *)buf,"%c",1);
> }
>
> if I place a function in one of the other modules in the project:
>
> Link Error   : project.c: 'sprintf' referenced from 'test' is undefined.
>
> What's wrong?
>
> -- 
>
> Best greetings from germany
>
> Markus Reichart
>
> http://www.delineo.de
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to