I know since the beginning of time that PalmOS shared libraries aren't able to 
export C++ functions.  The show-stopping limitations seem to be:

1) No implicit support for globals precludes the use of vtables and such

2) The calling mechanism for shared library calls assumes the first parameter 
of any library API is the libRefNum, which conflicts directly with C++'s 
passing of an implicit 'this' pointer as the first parameter

Still, I'm curious if anybody has been able to work around these issues in an 
effective fashion.  I don't know much about the gcc tools, but it appears that 
a project called 'Multilink' at some point provided virtual functions in shared 
libraries, hence this URL:

http://bwinton.latte.ca/Palm/multilink.html

Specifically for my purposes, I'd like a shared library to be:

1) Greater than 64KB
2) Able to export virtual functions
3) Able to work with static member functions

No RTTI nor exception support necessary, though I would be curious to hear if 
these have ever been addressed as well.

Is there any good news on this front?

Thanks very much!
-Jeff Ishaq
PalmOS Certified Developer
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to