Hi
I've taken a project created with "Palm C App" stationary, and converted it
to a "Palm C++" stationary project.(i.e created a standard Palm C++ project,
and replaced the default source files with those from my Palm C project)
My project also includes a static library, which I created, that contains
usefull Utility functions. When the compiler tried to link my app, I got an
error saying that one of the functions in my Utility library was undefined.
Anyway to cut a long story short, I figured out that If do the following to
my Utility libraries header file, then the error went away (I got this by
looking at the Palm OS headers)
#ifdef __cplusplus
extern "C" {
#endif
foo FooBar(Bar bar);
... nextFunction();
....etc();
#ifdef __cplusplus
}
#endif
My question is, what is the significance of 'extern "C"
functionPrototypes }'
Regards
Garth Watkins
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html