avatar  


Recently viewed tickets

Log out

When I'm trying to link my program with BCGControlBar library, I get lot of linker errors like 'error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accName'. How can I resolve this problem?

If you get the following error messages:

  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accName
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accValue
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accDescription
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accHelp
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accHelpTopic
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accKeyboardShortcut
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::get_accDefaultAction
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::put_accName
  • error LNK2001: unresolved external symbol "public: virtual long __thiscall CBCGPWnd::put_accValue

please check the option "Treat wchar_t as built in type" in C/C++ | Language settings for the project and change it to the opposite. The point is that the project should be compiled with the same setting as the library.
Creation date: 10/16/2016 12:04 PM ()      Updated: 10/16/2016 12:04 PM ()