"Ritesh Sinha" <[EMAIL PROTECTED]> wrote in message
news:72407@palm-dev-forum...
>
> Hi gurus,
>
> I am trying to create a STL string object to avoid the trouble of
character
> pointer handling . i am using Codewarrior 6.0.This is the first time i
am
> using the MSL c++ library so i may be making some stupid mistake.
(Though i
> expect the interfaces to be similar to any other STL implementation)
The STL included in CW for Palm R6 is not a version tested on Palm OS.
There was a tested version included in CW Palm R7 and V8 -- I know we
did a bit of tweaking.
> 1. the troubling line is :
> string str ;
> str.assign("<Name>" ) ;
> As soon as the debugger reaches this line i get follwing error :
> "the (Application) just executed an illegal or unknown machine
language
> instruction. The opcode executed was 0xA22E"
> Well then i tried to do str.append( ); in place of assign but i get
the same
> error.
I don't know -- we don't support CW Palm R6 anymore. This is a job for
looking at the source code.
> 2. Again when i tried doing str.erase( ) i got a link error saying
memset
> was referred. How can i avoid that? and special #includes that i am
missing
> ? or the MSL internaly used memset and i dont have any way out?
You can try porting that MSL over -- we didn't do any real work on MSL
library porting until V8.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/