Thanks Ben for your answer. Well, I did read the article. The shared library is written in C. Even though my application uses C++, but I use C convention to call any methods in the shared library.
#ifdef __cplusplus extern "C" { #endif
// calls to shared library
#ifdef __cplusplus extern "C" { #endif
Should not it work?
That should help. However, is the header file for the shared library --
1) declaring all shared library functions with an initial LibRef parameter
2) declaring all of these functions with the right trap macros to tell the compiler that to call a function, it needs to use a system trap?
-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
