Using VC++ 8.0

Hello,

I have a project that was created/build using VC++ 6.0, the project uses a third party library iconnect.lib. I am trying to compile the project using VC++ 8.0 but I get a lot of linker errors - some of those errors are below. Note: the project compiles without errors or warnings when using VC++ 6.0.

Can someone tell me what I need to do to get my project to compile/link successfully with VC++ 8.0

Thanks in advance!

-Agustin

ERRORS:

Error 82 error LNK2001: unresolved external symbol __RTC_CheckEsp iconnect.lib
Error 83 error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl toAmountString(double)" ( toAmountString@@YA AV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@N@Z) iconnect.lib
Error 164 error LNK2001: unresolved external symbol __RTC_CheckEsp SampleMsgHandler.obj
Error 165 error LNK2001: unresolved external symbol __RTC_Shutdown iconnect.lib
Error 168 error LNK2019: unresolved external symbol __RTC_Shutdown referenced in function "private: void __thiscall iConnect::iCTradeExtensionEuroRepo::_unpack_str2DealRefEuro(class iConnect::iCMessageBuffer &)" ( _unpack_str2DealRefEuro@iCTradeExtensionEuroRepo@iConnect@@AAEXAAViCMessageBuffer@2@@Z) iconnect.lib
Error 169 error LNK2001: unresolved external symbol __RTC_Shutdown iconnect.lib
Error 329 error LNK2001: unresolved external symbol __RTC_InitBase iconnect.lib
Error 411 error LNK2019: unresolved external symbol __RTC_InitBase referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl toAmountString(double)" ( toAmountString@@YA AV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@N@Z) iconnect.lib
Error 412 error LNK2001: unresolved external symbol __RTC_InitBase iconnect.lib
Error 493 error LNK2001: unresolved external symbol ___security_cookie Simple.obj
Error 494 error LNK2019: unresolved external symbol ___security_cookie referenced in function "protected: virtual void __thiscall CSample::onConnect(class iConnect::iCSession &)" ( onConnect@CSample@@MAEXAAViCSession@iConnect@@@Z) Sample.obj
Error 495 error LNK2001: unresolved external symbol ___security_cookie SampleCommands.obj
Error 498 error LNK2001: unresolved external symbol ___CxxFrameHandler3 Simple.obj
Error 499 error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$ onConnect@CSample@@MAEXAAViCSession@iConnect@@@Z Sample.obj
Error 500 error LNK2001: unresolved external symbol ___CxxFrameHandler3 SampleCommands.obj
Error 503 error LNK2001: unresolved external symbol @__security_check_cookie@4 Simple.obj
Error 504 error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function __ehhandler$ onConnect@CSample@@MAEXAAViCSession@iConnect@@@Z Sample.obj
Error 505 error LNK2001: unresolved external symbol @__security_check_cookie@4 SampleCommands.obj
Error 508 error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function "public: virtual void __thiscall iConnect::iCBankDetail::dump(class std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> > &)const " ( dump@iCBankDetail@iConnect@@UBEXAAV $basic_ostringstream@DU $char_traits@D@std@@V $allocator@D@2@@std@@@Z) iconnect.lib
Error 509 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 iconnect.lib
Error 650 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 Sample.obj
Error 651 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 SampleCommands.obj
Error 652 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 SampleLog.obj
Error 653 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 SampleMsgHandler.obj
Error 654 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_ _Osfx@ $basic_ostream@DU $char_traits@D@std@@@std@@QAEXXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" ( 1sentry@ $basic_ostream@DU $char_traits@D@std@@@std@@QAE@XZ) Sample.obj
Error 655 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_ _Osfx@ $basic_ostream@DU $char_traits@D@std@@@std@@QAEXXZ) SampleCommands.obj
Error 656 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_ _Osfx@ $basic_ostream@DU $char_traits@D@std@@@std@@QAEXXZ) SampleLog.obj
Error 657 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_ _Osfx@ $basic_ostream@DU $char_traits@D@std@@@std@@QAEXXZ) SampleMsgHandler.obj
Error 658 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (__imp_ _Lock@ $basic_streambuf@DU $char_traits@D@std@@@std@@QAEXXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::_Sentry_base(class std::basic_ostream<char,struct std::char_traits<char> > &)" ( 0_Sentry_base@ $basic_ostream@DU $char_traits@D@std@@@std@@QAE@AAV12@@Z) Sample.obj
Error 659 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (__imp_ _Lock@ $basic_streambuf@DU $char_traits@D@std@@@std@@QAEXXZ) SampleCommands.obj
Error 667 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_ 0 $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE@PBD@Z) iconnect.lib
Error 668 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_ 0 $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE@PBD@Z) iconnect.lib
Error 902 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,unsigned int)" (__imp_ 0 $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE@PBDI@Z) referenced in function "public: class iConnect::iCMessageBuffer & __thiscall iConnect::iCMessageBuffer::operator>>(class iConnect::flstring &)" ( 5iCMessageBuffer@iConnect@@QAEAAV01@AAVflstring@1@@Z) iconnect.lib
Error 903 error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "public: int __thiscall iConnect::WSALib::init(void)" ( init@WSALib@iConnect@@QAEHXZ) iconnect.lib
Error 904 error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "public: int __thiscall iConnect::WSALib::fini(void)" ( fini@WSALib@iConnect@@QAEHXZ) iconnect.lib




Answer this question

Using VC++ 8.0