Thanks Greg. I had forgotten about name mangling. Your suggestion fixed the
linking problem.
Thanks,
Paul
"Greg Winton" <[EMAIL PROTECTED]> wrote in message
news:13071@palm-dev-forum...
>
> >> I've downloaded the sample shared library project, changed it to use
the
> 3.5
> > SDK, and work fine. The problem is when I turn on the C++ compile
everything
> > compiles but I'm getting the following error during linking:
> >
> > Link Error : __RuntimeModule__: '__Startup__' referenced from
> > '__DummyStartup__' is undefined.
> >
>
> This is due to name mangling. You need to make sure that your
> implementation of __Startup__ is declared as extern "C".
>
> Hope this helps,
>
> Greg
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/