Yes, it's possible.

Name mangling should be completely irrelevent. People who use shared libraries
don't "link by name" on Palm OS devices. Applications "weak link" to libraries.
They specify what function in the library they want to call by indicating that
function with a selector number. The Palm OS then uses that selector number to
look-up a function address in a table your library provides.

But even if name mangling were relevent, you can always turn it off using
'extern "C"'.

-- Keith






"Paul Leverett" <[EMAIL PROTECTED]> on 06/27/2000 07:22:00 AM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Paul Leverett" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Using C++ in share library



Hello,

Is it possible to use C++ to write a share library?

If it is possible, how would you handle the name-mangling of functions that
I want to expose from my library?

Thanks,
Paul Leverett



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