none
Visual studio 2005 C++ project LNK2001 error

    Question

  • Visual Studio 2005 C++ project, I am getting several unresolved symbol errors (listed below). 

    The project uses several .lib and DLL files.

    I used the dumpbin export utility followed by UNDNAME. Here is a sample of one function output.


    //pasted from DUMPBIN export:          
    2    1 00001104 ??4CCancellationTicketData@@QAAAAV0@ABV0@@Z = ??4CCancellationTicketData@@QAAAAV0@ABV0@@Z (public: class CCancellationTicketData & __cdecl CCancellationTicketData::operator=(class CCancellationTicketData const &))

    Undecoration of :- "??4CCancellationTicketData@@QAAAAV0@ABV0@@Z"
    is :- "public: class CCancellationTicketData & __cdecl CCancellationTicketData::operator=(class CCancellationTicketData const &)"

    I am not sure what else to try to resolve this problem. Pointers appreciated.

    Thanks,

    Priya

    AutoScanTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScanNonBlocking(int,void (__cdecl*)(class CScannedBarcodeData &),int,unsigned long,unsigned long)" (__imp_?REPM_PerformScanNonBlocking@CREPM_API@@SAIHP6AXAAVCScannedBarcodeData@@@ZHKK@Z)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScanNonBlocking(int,void (__cdecl*)(class CScannedBarcodeData &),int,unsigned long,unsigned long)" (__imp_?REPM_PerformScanNonBlocking@CREPM_API@@SAIHP6AXAAVCScannedBarcodeData@@@ZHKK@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    AutoScanTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    MyDlg11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    MyDlg3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    MyDlg9.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GenerateBarcode(unsigned char,unsigned char,unsigned char,unsigned char const *,unsigned char,int,unsigned char,unsigned char *,unsigned char *,unsigned int *,unsigned int *,unsigned int *,unsigned int *)" (__imp_?REPM_GenerateBarcode@CREPM_API@@SAIEEEPBEEHEPAE1PAI222@Z)
    AutoScanTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl CBarcodeData::GetBarcodeDataBuffer(unsigned char *,unsigned char &,unsigned char &)" (__imp_?GetBarcodeDataBuffer@CBarcodeData@@QAAXPAEAAE1@Z)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl CBarcodeData::GetBarcodeDataBuffer(unsigned char *,unsigned char &,unsigned char &)" (__imp_?GetBarcodeDataBuffer@CBarcodeData@@QAAXPAEAAE1@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl CBarcodeData::GetBarcodeDataBuffer(unsigned char *,unsigned char &,unsigned char &)" (__imp_?GetBarcodeDataBuffer@CBarcodeData@@QAAXPAEAAE1@Z)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl CBarcodeData::GetBarcodeDataBuffer(unsigned char *,unsigned char &,unsigned char &)" (__imp_?GetBarcodeDataBuffer@CBarcodeData@@QAAXPAEAAE1@Z)
    AutoScanTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetScannerFirmwareVersion(char *,short &)" (__imp_?REPM_GetScannerFirmwareVersion@CREPM_API@@SAIPADAAF@Z)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetScannerFirmwareVersion(char *,short &)" (__imp_?REPM_GetScannerFirmwareVersion@CREPM_API@@SAIPADAAF@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetScannerFirmwareVersion(char *,short &)" (__imp_?REPM_GetScannerFirmwareVersion@CREPM_API@@SAIPADAAF@Z)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetScannerFirmwareVersion(char *,short &)" (__imp_?REPM_GetScannerFirmwareVersion@CREPM_API@@SAIPADAAF@Z)
    AutoScanTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_ScannerTestBeep(enum eScannerBeep)" (__imp_?REPM_ScannerTestBeep@CREPM_API@@SAIW4eScannerBeep@@@Z)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_ScannerTestBeep(enum eScannerBeep)" (__imp_?REPM_ScannerTestBeep@CREPM_API@@SAIW4eScannerBeep@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateEntryTicket(unsigned char *,unsigned char *,class CEntryTicketData *)" (__imp_?BTDT_CreateEntryTicket@CBTDT_API@@SAIPAE0PAVCEntryTicketData@@@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateEntryTicket(unsigned char *,unsigned char *,class CEntryTicketData *)" (__imp_?BTDT_CreateEntryTicket@CBTDT_API@@SAIPAE0PAVCEntryTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateEntryTicket(class CEntryTicketData *,unsigned char *)" (__imp_?BTDT_TranslateEntryTicket@CBTDT_API@@SAIPAVCEntryTicketData@@PAE@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateEntryTicket(class CEntryTicketData *,unsigned char *)" (__imp_?BTDT_TranslateEntryTicket@CBTDT_API@@SAIPAVCEntryTicketData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateExitTicket(unsigned char *,unsigned char *,class CExitTicketData *)" (__imp_?BTDT_CreateExitTicket@CBTDT_API@@SAIPAE0PAVCExitTicketData@@@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateExitTicket(unsigned char *,unsigned char *,class CExitTicketData *)" (__imp_?BTDT_CreateExitTicket@CBTDT_API@@SAIPAE0PAVCExitTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateExitTicket(class CExitTicketData *,unsigned char *)" (__imp_?BTDT_TranslateExitTicket@CBTDT_API@@SAIPAVCExitTicketData@@PAE@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateExitTicket(class CExitTicketData *,unsigned char *)" (__imp_?BTDT_TranslateExitTicket@CBTDT_API@@SAIPAVCExitTicketData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateEntryTicketWithStore(unsigned char *,unsigned char *,class CEntryTicketWithStoreData *)" (__imp_?BTDT_CreateEntryTicketWithStore@CBTDT_API@@SAIPAE0PAVCEntryTicketWithStoreData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateEntryTicketWithStore(class CEntryTicketWithStoreData *,unsigned char *)" (__imp_?BTDT_TranslateEntryTicketWithStore@CBTDT_API@@SAIPAVCEntryTicketWithStoreData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateLostTicket(unsigned char *,unsigned char *,class CLostTicketData *)" (__imp_?BTDT_CreateLostTicket@CBTDT_API@@SAIPAE0PAVCLostTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateLostTicket(class CLostTicketData *,unsigned char *)" (__imp_?BTDT_TranslateLostTicket@CBTDT_API@@SAIPAVCLostTicketData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateValidationCoupon(unsigned char *,unsigned char *,class CValidationCouponData *)" (__imp_?BTDT_CreateValidationCoupon@CBTDT_API@@SAIPAE0PAVCValidationCouponData@@@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateValidationCoupon(unsigned char *,unsigned char *,class CValidationCouponData *)" (__imp_?BTDT_CreateValidationCoupon@CBTDT_API@@SAIPAE0PAVCValidationCouponData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateValidationCoupon(class CValidationCouponData *,unsigned char *)" (__imp_?BTDT_TranslateValidationCoupon@CBTDT_API@@SAIPAVCValidationCouponData@@PAE@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateValidationCoupon(class CValidationCouponData *,unsigned char *)" (__imp_?BTDT_TranslateValidationCoupon@CBTDT_API@@SAIPAVCValidationCouponData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateCancellationTicket(unsigned char *,unsigned char *,class CCancellationTicketData *)" (__imp_?BTDT_CreateCancellationTicket@CBTDT_API@@SAIPAE0PAVCCancellationTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateCancellationTicket(class CCancellationTicketData *,unsigned char *)" (__imp_?BTDT_TranslateCancellationTicket@CBTDT_API@@SAIPAVCCancellationTicketData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateManagementCard(unsigned char *,unsigned char *,class CManagementCardData *)" (__imp_?BTDT_CreateManagementCard@CBTDT_API@@SAIPAE0PAVCManagementCardData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateManagementCard(class CManagementCardData *,unsigned char *)" (__imp_?BTDT_TranslateManagementCard@CBTDT_API@@SAIPAVCManagementCardData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreatePrintOnVaultTicket(unsigned char *,unsigned char *,class CEntryTicketData *)" (__imp_?BTDT_CreatePrintOnVaultTicket@CBTDT_API@@SAIPAE0PAVCEntryTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateNestedEntryTicket(unsigned char *,unsigned char *,class CEntryTicketData *)" (__imp_?BTDT_CreateNestedEntryTicket@CBTDT_API@@SAIPAE0PAVCEntryTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateNestedEntryTicket(class CEntryTicketData *,unsigned char *)" (__imp_?BTDT_TranslateNestedEntryTicket@CBTDT_API@@SAIPAVCEntryTicketData@@PAE@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_CreateNestedExitTicket(unsigned char *,unsigned char *,class CExitTicketData *)" (__imp_?BTDT_CreateNestedExitTicket@CBTDT_API@@SAIPAE0PAVCExitTicketData@@@Z)
    BTDTDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CBTDT_API::BTDT_TranslateNestedExitTicket(class CExitTicketData *,unsigned char *)" (__imp_?BTDT_TranslateNestedExitTicket@CBTDT_API@@SAIPAVCExitTicketData@@PAE@Z)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_CloseAPI(void)" (__imp_?REPM_CloseAPI@CREPM_API@@SAIXZ)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_CloseAPI(void)" (__imp_?REPM_CloseAPI@CREPM_API@@SAIXZ)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_InitialiseAPI(unsigned char,unsigned char,unsigned char,unsigned char *,unsigned char)" (__imp_?REPM_InitialiseAPI@CREPM_API@@SAIEEEPAEE@Z)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_InitialiseAPI(unsigned char,unsigned char,unsigned char,unsigned char *,unsigned char)" (__imp_?REPM_InitialiseAPI@CREPM_API@@SAIEEEPAEE@Z)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetScannerStatus(void)" (__imp_?REPM_GetScannerStatus@CREPM_API@@SAIXZ)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_GetAPIVersion(void)" (__imp_?REPM_GetAPIVersion@CREPM_API@@SAIXZ)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CDeviceComm::~CDeviceComm(void)" (__imp_??1CDeviceComm@@QAA@XZ)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl CDeviceComm::ResetArcnetChip(void)" (__imp_?ResetArcnetChip@CDeviceComm@@QAAXXZ)
    MyDlg1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CDeviceComm::CDeviceComm(void)" (__imp_??0CDeviceComm@@QAA@XZ)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl CScannedBarcodeData::~CScannedBarcodeData(void)" (__imp_??1CScannedBarcodeData@@UAA@XZ)
    MyDlg9.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl CScannedBarcodeData::~CScannedBarcodeData(void)" (__imp_??1CScannedBarcodeData@@UAA@XZ)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl CScannedBarcodeData::~CScannedBarcodeData(void)" (__imp_??1CScannedBarcodeData@@UAA@XZ)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl CScannedBarcodeData::~CScannedBarcodeData(void)" (__imp_??1CScannedBarcodeData@@UAA@XZ)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScan(int,class CScannedBarcodeData &,int,unsigned long,unsigned long)" (__imp_?REPM_PerformScan@CREPM_API@@SAIHAAVCScannedBarcodeData@@HKK@Z)
    MyDlg9.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScan(int,class CScannedBarcodeData &,int,unsigned long,unsigned long)" (__imp_?REPM_PerformScan@CREPM_API@@SAIHAAVCScannedBarcodeData@@HKK@Z)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScan(int,class CScannedBarcodeData &,int,unsigned long,unsigned long)" (__imp_?REPM_PerformScan@CREPM_API@@SAIHAAVCScannedBarcodeData@@HKK@Z)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformScan(int,class CScannedBarcodeData &,int,unsigned long,unsigned long)" (__imp_?REPM_PerformScan@CREPM_API@@SAIHAAVCScannedBarcodeData@@HKK@Z)
    MyDlg5.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CScannedBarcodeData::CScannedBarcodeData(void)" (__imp_??0CScannedBarcodeData@@QAA@XZ)
    MyDlg9.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CScannedBarcodeData::CScannedBarcodeData(void)" (__imp_??0CScannedBarcodeData@@QAA@XZ)
    REPMFuncChkDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CScannedBarcodeData::CScannedBarcodeData(void)" (__imp_??0CScannedBarcodeData@@QAA@XZ)
    REPMLoopTestDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl CScannedBarcodeData::CScannedBarcodeData(void)" (__imp_??0CScannedBarcodeData@@QAA@XZ)
    MyDlg6.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformSnapshotImage(unsigned char *,int *)" (__imp_?REPM_PerformSnapshotImage@CREPM_API@@SAIPAEPAH@Z)
    MyDlg6.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl CREPM_API::REPM_PerformSnapshotImageNonBlocking(void (__cdecl*)(unsigned char *,unsigned int *))" (__imp_?REPM_PerformSnapshotImageNonBlocking@CREPM_API@@SAIP6AXPAEPAI@Z@Z)
    REPMLib.lib(TFASingleton.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl InitTFA(void)" (__imp_?InitTFA@@YAXXZ)
    REPMLib.lib(TFASingleton.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl DeInitTFA(void)" (__imp_?DeInitTFA@@YAXXZ)
    ConnectCore 9M Wi-9M 2443 (ARMV4I)\Debug eValidator\REPM_Barcode_API_TestApp.exe : fatal error LNK1120: 38 unresolved externals
    Results

    Build log was saved at "file://c:\Visual_2005_Projects\REPM_TEST_APP\REPM_TEST_APP\COMMONFILES\Devices\REPM_Barcode_API_TestApp\ConnectCore 9M Wi-9M 2443 (ARMV4I)\Debug eValidator\BuildLog.htm"
    REPM_Barcode_API_TestApp - 69 error(s), 0 warning(s)

        
    Sunday, May 26, 2019 8:32 PM

All replies

  • The presence of "__imp_" and "__declspec(dllimport)" in the error messages indicate that you have neglected to link with the import libraries for the dlls that contain the indicated symbols.

    Add the relevant import libraries as additional dependencies in the project properties for the linker or include a

    #pragma comment(lib,"importlibraryname")

    statement for each missing library in your source code files.

    Sunday, May 26, 2019 8:42 PM
  • Hi pnadathur,

    Thank you for posting here.

    According to your description, your issue is more related to C++ development. Since our forum is discussing about debugger, Profiler and intelltrace in VS IDE, so we will move this issue to Visual C++ forum for better support.

    Best Regards,

    Dylan 


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, May 27, 2019 2:53 AM
  • Hello,

    Thanks for posting here.

    >>error LNK2001: unresolved external symbol "__declspec(dllimport)

    Refer to Error LNK2001, there are many ways to get this error, but all of them involve a reference to a function or variable that the linker can't resolve, or find a definition for. The compiler can identify when a symbol is not declared, but not when it is not defined, because the definition may be in a different source file or library. If a symbol is referred to but never defined, the linker generates an error.

    Have a look at these:
    https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix
    https://stackoverflow.com/questions/17901973/unresolved-external-symbol-declspecdllimport

    Best Wishes,

    Jack Zhang



    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 27, 2019 7:30 AM
    Moderator