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)

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.

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?

thanks,

Ritesh



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