while searching for a solution, i've found this e-mail posted on a deja.com
forum
I don't know if it's still up to date.

/***********************************************/
You cannot use C++ in Palm OS shared libraries for the same reasons you
can't use globals and statics -- there's no automatic A5 globals, and no
resource db switching and loading mechanism. You are therefore limited to
pure C and 68k Assembly.

Regards,

Jim Schram
3Com/Palm Computing
Partner Engineering
/*************************************************/

----- Original Message -----
From: William F. Weiher <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 4:16 PM
Subject: RE: c++ shared library


> You can certainly use c++ in a shared library. You just have to be careful
> about things like virtual functions (watch out for class destructors and
> inherited classes). After all c++ is really nothing more than C with some
> extra type checking and a few ways of writing code which could almost be
> considered macros. The first c++ compiler I worked with actuall comverted
> code to standard C and the used the C compiler to compile it.
>



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