Well I never said you could use everyting possible in C++. You have to be a
little careful. I do have a shared library written in C++. I do have a
shared library written in C++ and it even has its own UI for some functions
(but then I've been doing this for 35 years, it is probably something that
the novice might want to stay away from)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of nabil
Sent: Wednesday, February 07, 2001 9:55
To: Palm Developer Forum
Subject: Re: c++ shared library


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/


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