strtok is not part of the Palm OS APIs, try StrStr

----- Original Message -----
From: "Carl Smith" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 29, 2001 2:23 PM
Subject: Trying to use strtok()


> I'm trying to use strtok in my code. It is defined and prototyped in
> \METROWERKS\CW FOR PALM OS R6\MSL\MSL_C\MSL_Common\Include\cstring so I
put
> the #include "string.h" at the top of the file that is calling strtok().
> Then because the compiler complains about being able to fine string.h and
> ultimately cstring I put ..\Program Files\Metrowerks\CW for Palm OS
> R6\MSL\MSL_C\MSL_Common and ..\Program Files\Metrowerks\CW for Palm OS
> R6\MSL\MSL_C\MSL_Common\Src in my project settings under Target/Acess
Paths.
> Then when I compile it I get an error each time stating:
> ERROR: the file 'ansi_prefix.mac.h' cannot be opened. mslGlobals.h line 34
> #include <ansi_prefix.mac.h> and in file ..\mslGlobals.h and another error
> stating:
> ERROR: the file 'bsd_mem.h' cannot be opened. cstring line 38 "include
> <bsd_mem.h> in file ..\cstring.
>
> I'm assuming one can use the strtok() function, seeing as how it's defined
> in Metrowerks file, and I'm probable just not seeting some radio button,
or
> something, in the project settings but I can't figure it out.
>
> Anyonehave any suggestions or have you run into this before.
> Thanks
> Carl
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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