My code is like this. I do not get any compile error. Only link errors are
coming. Still the link errors are same.

#ifdef __cplusplus
        extern "C" {
#endif

#include "PalmOS.h"                             // all the system toolbox
headers
#include "ScanMgrDef.h"                 // scan manager constants
#include "ScanMgrStruct.h"      // scan manager structures
#include "ScanMgr.h"                    // scan manager API functions
#ifdef __cplusplus
        }
#endif


Hi Amit.

If you develop using c++ than try this:

extern "C"
{
#include <ScanMgrDef.h>                         // Scan Manager constant
definitions
#include <ScanMgrStruct.h>                      // Scan Manager structure
definitions 
#include <ScanMgr.h>                            // Scan Manager API function
definitions
}


HELLO ALL,
        I am running an application for Symbol SPT barcode scanner with
Symbol's SDK 3.10 and codewarrior 8.0. 
I have included include and lib directory paths of Symbol sdk in "Access
Path" Settings.
When I am running application I am getting 

Link Error: 'ScanOpenDecoder' referenced from 'StartApplication' is
undefined.
                'ScanGetDecodedData' referenced from 'ScanBarcode' is
undefined.

These are defined in ScanMgr.h header file of Symbol SDK.
Is there any error in my code or any setting is missing?

Regards,
Amit Solanki


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to