Linker error - cannot resolve it

Hi to all!

I am working on some modbus application and I've got evaluation modbus library, which I included into my Visual Studio 2008 Solution. In this solution, I have two projects, one console app that reads time from device via purchased modbus library and the second project is GUI variant of console app. Now, once I tried to run mentioned apps from visual studio, I got following linker errors:
1
2
3
4
StatusReader.obj : error LNK2028: unresolved token (0A00000E) "protected: virtual __clrcall MbusSerialMasterProtocol::~MbusSerialMasterProtocol(void)" (??1MbusSerialMasterProtocol@@$$FMAM@XZ) referenced in function "public: virtual __clrcall MbusRtuMasterProtocol::~MbusRtuMasterProtocol(void)" (??1MbusRtuMasterProtocol@@$$FUAM@XZ)
StatusReader.obj : error LNK2028: unresolved token (0A000011) "public: __clrcall MbusRtuMasterProtocol::MbusRtuMasterProtocol(void)" (??0MbusRtuMasterProtocol@@$$FQAM@XZ) referenced in function "private: void __clrcall StatusReader::FormMain::FormMain_Load(class System::Object ^,class System::EventArgs ^)" (?FormMain_Load@FormMain@StatusReader@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
StatusReader.obj : error LNK2019: unresolved external symbol "protected: virtual __clrcall MbusSerialMasterProtocol::~MbusSerialMasterProtocol(void)" (??1MbusSerialMasterProtocol@@$$FMAM@XZ) referenced in function "public: virtual __clrcall MbusRtuMasterProtocol::~MbusRtuMasterProtocol(void)" (??1MbusRtuMasterProtocol@@$$FUAM@XZ)
StatusReader.obj : error LNK2019: unresolved external symbol "public: __clrcall MbusRtuMasterProtocol::MbusRtuMasterProtocol(void)" (??0MbusRtuMasterProtocol@@$$FQAM@XZ) referenced in function "private: void __clrcall StatusReader::FormMain::FormMain_Load(class System::Object ^,class System::EventArgs ^)" (?FormMain_Load@FormMain@StatusReader@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
This is where it gets weird: After several hours of checking project properties, I've disable Unicode support in both projects, console project now compiles fine, but GUI projects still shows these errors. What else can be wrong, please help me!

Sincerely,
Marko
Could you post the files for MbusSerialMasterProtocol?
Seems like constructor and destructor are declared but the definition is not present or accessible.
Topic archived. No new replies allowed.