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.

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


Sorry ,

I think i've been too fast.
Maybe too happy to get a positive response.

What i really need is the "samplelib" sample written in c++.
Or , at least the way to build it, with c++ source code.

My library won't be statically linked.


thanks.

----- Original Message -----
From: Thomas Hagen Johansen <[EMAIL PROTECTED]>

To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 1:20 PM
Subject: RE: c++ shared library


> I don't know what you mean by shared, but I am currently
> building a .lib file which are being used inhouse by a
> number of programmers building PalmOS solutions.
>
> The library is written exclusively in C++.
>
> -----Original Message-----
> From: Nabil Mellal [mailto:[EMAIL PROTECTED]]
> Sent: 7. februar 2001 14:29
> To: Palm Developer Forum
> Subject: c++ shared library
>
>
> hi all,
>
> Is anybody out there ever been able to build a shared library written in
> c++?
>
> Is it even possible?
>
> I've tried using codewarrior(R5), but can't get rid of error messages at
> link time (even with adding msl runtime).
>
> Many thanks.
>
>
>
> --
> 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/


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