Click here to Skip to main content
15,905,566 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpening a document (MDI) Pin
vasanth100425-Jul-05 13:06
vasanth100425-Jul-05 13:06 
GeneralRe: Opening a document (MDI) Pin
Jose Lamas Rios25-Jul-05 20:27
Jose Lamas Rios25-Jul-05 20:27 
GeneralRe: Opening a document (MDI) Pin
vasanth100426-Jul-05 12:35
vasanth100426-Jul-05 12:35 
GeneralRe: Opening a document (MDI) Pin
Jose Lamas Rios26-Jul-05 15:54
Jose Lamas Rios26-Jul-05 15:54 
GeneralCopying an std::string Pin
LCI25-Jul-05 11:30
LCI25-Jul-05 11:30 
GeneralRe: Copying an std::string Pin
Anonymous25-Jul-05 12:27
Anonymous25-Jul-05 12:27 
GeneralCode to read / display Electronic Navigation Charts Pin
sophiedog25-Jul-05 11:05
sophiedog25-Jul-05 11:05 
GeneralPlatform SDK Environment variables - puzzled Pin
Kuniva25-Jul-05 10:58
Kuniva25-Jul-05 10:58 
I've encountered a few rather annoying problems when trying to use the new platform SDK, which I apparently, really need. So when I found myself in what seemed to be an unoverseeable mess, I decided to uninstall the sdk and reinstall and see if that helped any. Obviously it didn't. The installer said theres a SetEnv.cmd file included to set my environment variables so Visual Studio would be able to use the sdk properly. So after the install, I run SetEnv. I check my Environment variables via System->ENvironment variables (Include, Path, Lib etc..), both user and system variables, what do I see, nothing, a single entry to some older SDK or something. I open visual studio (I have .NET 2003 aka 7.1) and go to Tools->Options->Projects->Visual C++ Build directories and as expected see my entire list of include directories, lib directories and executable directories. The funny thing is, at the bottom of the dialog it says, and I quote:
Path to use when searching for include files while building a VC++ project.  Corresponds to environment variable INCLUDE.


Corresponds to environment variable INCLUDE... then why is it that when I check it there's only one lousy entry not much to do with anything even..? Is Visual Studio storing them somewhere else? Cause I'd hardly suspect my System control panel of cheating.

Then I have another annoying problem. Whats with the 'new' iostream and standard C library routines? Apparently they rewrote some of them? And decided it was better to go and start cluttering them around some, as to make our lives even a bit more troublesome? First I had a problem cause I was trying to compile a project that was using the old iostream.h include file and msdn says to use the new library u need to include iostream, without .h part. Now when I did that it worked fine. But what I dont get is why it didnt work fine with the iostream.h one, cause then I got a linker error for libcimtd.lib. but when I looked in my platform SDK folder I didnt find any file like that. actually there was a whole bunch of libcp, libcmt, libctd etc files but none with an aditional 'i' in it.. So what the hell are they trying to pull. But whatever, I wasn't that bothered yet cause it worked with iostream. Its only now that it started to really piss me off, when I tried to compile another project, which didnt use MFC or anything, and I got loads of linker errors:

Linking...
libcpmtd.lib(locale0.obj) : error LNK2005: "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ) already defined in IniFile.obj
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ) referenced in function __unwindfunclet$??0CIniFile@@QAE@XZ$0
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ)
LoginDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ)
Revo Client.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(void)" (??0CString@@QAE@XZ) referenced in function "public: __thiscall CIniFile::CIniFile(void)" (??0CIniFile@@QAE@XZ)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(void)" (??0CString@@QAE@XZ)
LoginDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(void)" (??0CString@@QAE@XZ)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(void)" (??0CString@@QAE@XZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator=(class CString const &)" (??4CString@@QAEABV0@ABV0@@Z) referenced in function "public: __thiscall CIniFile::CIniFile(class CString)" (??0CIniFile@@QAE@VCString@@@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: class CString const & __thiscall CString::operator=(class CString const &)" (??4CString@@QAEABV0@ABV0@@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(class CString const &)" (??0CString@@QAE@ABV0@@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(class CString const &)" (??0CString@@QAE@ABV0@@Z) referenced in function "public: __thiscall CRevoClientDlg::CRevoClientDlg(class CWnd *)" (??0CRevoClientDlg@@QAE@PAVCWnd@@@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: class CString __thiscall CString::Right(int)const " (?Right@CString@@QBE?AV1@H@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: class CString __thiscall CString::Right(int)const " (?Right@CString@@QBE?AV1@H@Z) referenced in function "public: __thiscall CRevoClientDlg::CRevoClientDlg(class CWnd *)" (??0CRevoClientDlg@@QAE@PAVCWnd@@@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: void __thiscall CString::TrimRight(void)" (?TrimRight@CString@@QAEXXZ) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: class CString __thiscall CString::Left(int)const " (?Left@CString@@QBE?AV1@H@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: class CString __thiscall CString::Left(int)const " (?Left@CString@@QBE?AV1@H@Z) referenced in function "public: __thiscall CRevoClientDlg::CRevoClientDlg(class CWnd *)" (??0CRevoClientDlg@@QAE@PAVCWnd@@@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::Find(char const *)const " (?Find@CString@@QBEHPBD@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: int __thiscall CString::Find(char const *)const " (?Find@CString@@QBEHPBD@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: void __thiscall CString::TrimRight(char)" (?TrimRight@CString@@QAEXD@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: void __thiscall CString::TrimLeft(char)" (?TrimLeft@CString@@QAEXD@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::GetLength(void)const " (?GetLength@CString@@QBEHXZ) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
LoginDlg.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::GetLength(void)const " (?GetLength@CString@@QBEHXZ) referenced in function "protected: void __thiscall CLoginDlg::OnSize(unsigned int,int,int)" (?OnSize@CLoginDlg@@IAEXIHH@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: int __thiscall CString::GetLength(void)const " (?GetLength@CString@@QBEHXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: char __thiscall CString::operator[](int)const " (??ACString@@QBEDH@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: char __thiscall CString::operator[](int)const " (??ACString@@QBEDH@Z)
IniFile.obj : error LNK2019: unresolved external symbol "bool __stdcall operator!=(class CString const &,char const *)" (??9@YG_NABVCString@@PBD@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "bool __stdcall operator!=(class CString const &,char const *)" (??9@YG_NABVCString@@PBD@Z)
LoginDlg.obj : error LNK2019: unresolved external symbol "bool __stdcall operator!=(class CString const &,char const *)" (??9@YG_NABVCString@@PBD@Z) referenced in function "protected: void __thiscall CLoginDlg::OnSize(unsigned int,int,int)" (?OnSize@CLoginDlg@@IAEXIHH@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: void __thiscall CString::TrimLeft(void)" (?TrimLeft@CString@@QAEXXZ) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CString::TrimLeft(void)" (?TrimLeft@CString@@QAEXXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator=(char const *)" (??4CString@@QAEABV0@PBD@Z) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: class CString const & __thiscall CString::operator=(char const *)" (??4CString@@QAEABV0@PBD@Z)
LoginDlg.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator=(char const *)" (??4CString@@QAEABV0@PBD@Z) referenced in function "protected: void __thiscall CLoginDlg::OnSize(unsigned int,int,int)" (?OnSize@CLoginDlg@@IAEXIHH@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: class CString const & __thiscall CString::operator=(char const *)" (??4CString@@QAEABV0@PBD@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::operator char const *(void)const " (??BCString@@QBEPBDXZ) referenced in function "public: bool __thiscall CIniFile::ReadFile(void)" (?ReadFile@CIniFile@@QAE_NXZ)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::operator char const *(void)const " (??BCString@@QBEPBDXZ)
LoginDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::operator char const *(void)const " (??BCString@@QBEPBDXZ)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::operator char const *(void)const " (??BCString@@QBEPBDXZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CTime::CTime(void)" (??0CTime@@QAE@XZ) referenced in function "public: __thiscall CFileStatus::CFileStatus(void)" (??0CFileStatus@@QAE@XZ)
IniFile.obj : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(char const *)" (??0CString@@QAE@PBD@Z) referenced in function "public: class CString __thiscall CIniFile::GetValue(class CString,class CString)" (?GetValue@CIniFile@@QAE?AVCString@@V2@0@Z)
InterfaceDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(char const *)" (??0CString@@QAE@PBD@Z)
LoginDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(char const *)" (??0CString@@QAE@PBD@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CString::CString(char const *)" (??0CString@@QAE@PBD@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: void __cdecl CString::Format(char const *,...)" (?Format@CString@@QAAXPBDZZ) referenced in function "public: bool __thiscall CIniFile::SetValueI(class CString,class CString,int,bool)" (?SetValueI@CIniFile@@QAE_NVCString@@0H_N@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: void __cdecl CString::Format(char const *,...)" (?Format@CString@@QAAXPBDZZ)
IniFile.obj : error LNK2019: unresolved external symbol "bool __stdcall operator!=(class CString const &,class CString const &)" (??9@YG_NABVCString@@0@Z) referenced in function "private: int __thiscall CIniFile::FindKey(class CString)" (?FindKey@CIniFile@@AAEHVCString@@@Z)
IniFile.obj : error LNK2019: unresolved external symbol "void __cdecl std::_Xran(void)" (?_Xran@std@@YAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
IniFile.obj : error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ) referenced in function "private: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAE_NI_N@Z)
IniFile.obj : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * std::locale::_Locimp::_Global" (?_Global@_Locimp@locale@std@@0PAV123@A)
IniFile.obj : error LNK2019: unresolved external symbol "struct _iobuf * __cdecl std::__Fiopen(char const *,int)" (?__Fiopen@std@@YAPAU_iobuf@@PBDH@Z) referenced in function "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDH@Z)
IniFile.obj : error LNK2001: unresolved external symbol "__int64 const std::_Fpz" (?_Fpz@std@@3_JB)
IniFile.obj : error LNK2019: unresolved external symbol "protected: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@IAEXXZ) referenced in function "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: bool __thiscall std::locale::_Iscloc(void)const " (?_Iscloc@locale@std@@QBE_NXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &,class std::ctype<char> const *,bool)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@PBV10@_N@Z)
IniFile.obj : error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int,bool)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I_N@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &,class std::ctype<char> const *,bool)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@PBV10@_N@Z)
IniFile.obj : error LNK2001: unresolved external symbol "private: static short const * const std::ctype<char>::_Cltab" (?_Cltab@?$ctype@D@std@@0PBFB)
IniFile.obj : error LNK2019: unresolved external symbol "void __stdcall ConstructElements<class CString>(class CString *,int)" (??$ConstructElements@VCString@@@@YGXPAVCString@@H@Z) referenced in function "public: void __thiscall CArray<class CString,class CString>::SetSize(int,int)" (?SetSize@?$CArray@VCString@@V1@@@QAEXHH@Z)
IniFile.obj : error LNK2019: unresolved external symbol "void __stdcall DestructElements<class CString>(class CString *,int)" (??$DestructElements@VCString@@@@YGXPAVCString@@H@Z) referenced in function "public: void __thiscall CArray<class CString,class CString>::SetSize(int,int)" (?SetSize@?$CArray@VCString@@V1@@@QAEXHH@Z)
IniFile.obj : error LNK2019: unresolved external symbol "void __stdcall SerializeElements<class CString>(class CArchive &,class CString *,int)" (??$SerializeElements@VCString@@@@YGXAAVCArchive@@PAVCString@@H@Z) referenced in function "public: virtual void __thiscall CArray<class CString,class CString>::Serialize(class CArchive &)" (?Serialize@?$CArray@VCString@@V1@@@UAEXAAVCArchive@@@Z)
InterfaceDlg.obj : error LNK2019: unresolved external symbol "void __stdcall DDV_MaxChars(class CDataExchange *,class CString const &,int)" (?DDV_MaxChars@@YGXPAVCDataExchange@@ABVCString@@H@Z) referenced in function "protected: virtual void __thiscall CInterfaceDlg::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CInterfaceDlg@@MAEXPAVCDataExchange@@@Z)
LoginDlg.obj : error LNK2001: unresolved external symbol "void __stdcall DDV_MaxChars(class CDataExchange *,class CString const &,int)" (?DDV_MaxChars@@YGXPAVCDataExchange@@ABVCString@@H@Z)
InterfaceDlg.obj : error LNK2019: unresolved external symbol "void __stdcall DDX_Text(class CDataExchange *,int,class CString &)" (?DDX_Text@@YGXPAVCDataExchange@@HAAVCString@@@Z) referenced in function "protected: virtual void __thiscall CInterfaceDlg::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CInterfaceDlg@@MAEXPAVCDataExchange@@@Z)
LoginDlg.obj : error LNK2001: unresolved external symbol "void __stdcall DDX_Text(class CDataExchange *,int,class CString &)" (?DDX_Text@@YGXPAVCDataExchange@@HAAVCString@@@Z)
InterfaceDlg.obj : error LNK2019: unresolved external symbol "class CString __stdcall operator+(class CString const &,char const *)" (??H@YG?AVCString@@ABV0@PBD@Z) referenced in function "public: void __thiscall CInterfaceDlg::ChatViewOutput(class CString)" (?ChatViewOutput@CInterfaceDlg@@QAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "class CString __stdcall operator+(class CString const &,char const *)" (??H@YG?AVCString@@ABV0@PBD@Z)
InterfaceDlg.obj : error LNK2019: unresolved external symbol "class CString __stdcall operator+(class CString const &,class CString const &)" (??H@YG?AVCString@@ABV0@0@Z) referenced in function "public: void __thiscall CInterfaceDlg::ChatViewOutput(class CString)" (?ChatViewOutput@CInterfaceDlg@@QAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "class CString __stdcall operator+(class CString const &,class CString const &)" (??H@YG?AVCString@@ABV0@0@Z)
InterfaceDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall CWnd::GetWindowTextA(class CString &)const " (?GetWindowTextA@CWnd@@QBEXAAVCString@@@Z) referenced in function "public: void __thiscall CInterfaceDlg::ChatViewOutput(class CString)" (?ChatViewOutput@CInterfaceDlg@@QAEXVCString@@@Z)
LoginDlg.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator+=(class CString const &)" (??YCString@@QAEABV0@ABV0@@Z) referenced in function "public: void __thiscall CLoginDlg::SetStatus(class CString)" (?SetStatus@CLoginDlg@@QAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2001: unresolved external symbol "public: class CString const & __thiscall CString::operator+=(class CString const &)" (??YCString@@QAEABV0@ABV0@@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::IsEmpty(void)const " (?IsEmpty@CString@@QBEHXZ) referenced in function "protected: virtual int __thiscall CRevoClientDlg::OnInitDialog(void)" (?OnInitDialog@CRevoClientDlg@@MAEHXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::LoadStringA(unsigned int)" (?LoadStringA@CString@@QAEHI@Z) referenced in function "protected: virtual int __thiscall CRevoClientDlg::OnInitDialog(void)" (?OnInitDialog@CRevoClientDlg@@MAEHXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: int __thiscall CDialog::Create(unsigned int,class CWnd *)" (?Create@CDialog@@QAEHIPAVCWnd@@@Z) referenced in function "protected: void __thiscall CRevoClientDlg::DisplayLoginWnd(void)" (?DisplayLoginWnd@CRevoClientDlg@@IAEXXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator+=(char const *)" (??YCString@@QAEABV0@PBD@Z) referenced in function "protected: virtual long __thiscall CRevoClientDlg::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CRevoClientDlg@@MAEJIIJ@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator+=(char)" (??YCString@@QAEABV0@D@Z) referenced in function "public: void __thiscall CRevoClientDlg::OnSocketReceive(void)" (?OnSocketReceive@CRevoClientDlg@@QAEXXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall CString::Empty(void)" (?Empty@CString@@QAEXXZ) referenced in function "public: void __thiscall CRevoClientDlg::OnSocketReceive(void)" (?OnSocketReceive@CRevoClientDlg@@QAEXXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "bool __stdcall operator==(class CString const &,char const *)" (??8@YG_NABVCString@@PBD@Z) referenced in function "protected: void __thiscall CRevoClientDlg::OnLogin(void)" (?OnLogin@CRevoClientDlg@@IAEXXZ)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: class CString __thiscall CString::Mid(int)const " (?Mid@CString@@QBE?AV1@H@Z) referenced in function "protected: void __thiscall CRevoClientDlg::OnReceiveCommand(class CString)" (?OnReceiveCommand@CRevoClientDlg@@IAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "public: int __thiscall CString::Find(char)const " (?Find@CString@@QBEHD@Z) referenced in function "protected: void __thiscall CRevoClientDlg::OnReceiveCommand(class CString)" (?OnReceiveCommand@CRevoClientDlg@@IAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "int __stdcall AfxExtractSubString(class CString &,char const *,int,char)" (?AfxExtractSubString@@YGHAAVCString@@PBDHD@Z) referenced in function "protected: void __thiscall CRevoClientDlg::OnReceiveCommand(class CString)" (?OnReceiveCommand@CRevoClientDlg@@IAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "class CString __stdcall operator+(char const *,class CString const &)" (??H@YG?AVCString@@PBDABV0@@Z) referenced in function "protected: void __thiscall CRevoClientDlg::ChatSysMessage(class CString)" (?ChatSysMessage@CRevoClientDlg@@IAEXVCString@@@Z)
Revo ClientDlg.obj : error LNK2019: unresolved external symbol "bool __stdcall operator==(class CString const &,class CString const &)" (??8@YG_NABVCString@@0@Z) referenced in function "protected: bool __thiscall CRevoClientDlg::RemoveUser(class CString)" (?RemoveUser@CRevoClientDlg@@IAE_NVCString@@@Z)
.\Debug/Revo Client.exe : fatal error LNK1120: 50 unresolved externals


Most seemingly to do with CString. Now that was in Static linking mode. When I try to link dynamically, it becomes even funnier, I simply get:

Linking...
LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'


So.. please help me, because I am getting insanely tired...


Kuniva
--------------------------------------------
QuestionScrum, anyone? Pin
Ravi Bhavnani25-Jul-05 10:38
professionalRavi Bhavnani25-Jul-05 10:38 
AnswerRe: Scrum, anyone? Pin
LCI25-Jul-05 11:31
LCI25-Jul-05 11:31 
GeneralRe: Scrum, anyone? Pin
Ravi Bhavnani25-Jul-05 11:36
professionalRavi Bhavnani25-Jul-05 11:36 
AnswerRe: Scrum, anyone? Pin
Tom Archer25-Jul-05 14:24
Tom Archer25-Jul-05 14:24 
GeneralQuestion about installing and using SDK Pin
David Fleming25-Jul-05 10:04
David Fleming25-Jul-05 10:04 
GeneralRe: Question about installing and using SDK Pin
David Crow25-Jul-05 10:24
David Crow25-Jul-05 10:24 
GeneralRe: Question about installing and using SDK Pin
David Fleming25-Jul-05 12:35
David Fleming25-Jul-05 12:35 
GeneralRe: Question about installing and using SDK Pin
David Fleming25-Jul-05 12:41
David Fleming25-Jul-05 12:41 
GeneralRe: Question about installing and using SDK Pin
Jose Lamas Rios25-Jul-05 15:52
Jose Lamas Rios25-Jul-05 15:52 
GeneralRe: Question about installing and using SDK Pin
David Fleming29-Jul-05 14:39
David Fleming29-Jul-05 14:39 
GeneralTransferring Files - ISAPI Pin
balu chettri25-Jul-05 9:22
balu chettri25-Jul-05 9:22 
GeneralLocalize Tooltips w. Satellite DLL Pin
HaraldS25-Jul-05 8:16
HaraldS25-Jul-05 8:16 
GeneralCapturing client area Pin
Anonymous25-Jul-05 6:56
Anonymous25-Jul-05 6:56 
GeneralRe: Capturing client area Pin
Chris Losinger25-Jul-05 7:30
professionalChris Losinger25-Jul-05 7:30 
GeneralRe: Capturing client area Pin
David Crow25-Jul-05 8:09
David Crow25-Jul-05 8:09 
GeneralFileSystemWatcher Pin
Marco M.25-Jul-05 6:49
Marco M.25-Jul-05 6:49 
GeneralRe: FileSystemWatcher Pin
David Crow25-Jul-05 7:39
David Crow25-Jul-05 7:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.