"Craig Deelsnyder" <[EMAIL PROTECTED]> wrote in message
news:65860@palm-dev-forum...
>
> I'm porting a C++ app (some classes) over to CW7.  The code uses some
> references to the 'string' type, so I added a reference to #include
<string>
> Also, I am using the MSL Runtime Palm OS (2i).Lib library in my
project.

To use the MSL C++ library in CW Palm 7:

1) Add {Compiler}Palm OS Support\CodeWarrior Libraries\(MSL) to your
access paths.
2) Add ANSICPPPALM.LIB to your project (this file is found in (MSL)\MSL
C++\MSL_Palm\Lib\Palm.

This will make you include the right header files and give the
additional definitions you need to use a std::string.

In CW Palm 8, you just choose "MSL C/C++ Library" in the application
wizard, and your project is setup correctly for you from the start.




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