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