> I tried adding scanner functions to my code and the linker 
> choked.  I played
> around with the sample apps and it seems to be that enabling the C++
> compiler causes this behavior.  Does anyone have any 
> suggestions as to what
> I could try to do to use the scanner functions in a C++ project?

The linker chokes because the Symbol header file are in C (not C++).  So
with the C++ compiler activated, the C code can be compiled, but it can't be
linked together. Add the following wrappers around your Symbol includes:

#ifdef __cplusplus
  extern "C" {
#endif

...Symbol header include statements

#ifdef __cplusplus
  }
#endif

-hkmlt

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