|
I would be most gratefult if anyone could point me to some Vis C++ code for reading / displaying / editing electronic navigational charts, such as those supplied by NOAA. The latest available charts are in vector graphics format (C-MAP, NOS). Thanks very much.
Dr. John A. Freeman
|
|
|
|
|
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
--------------------------------------------
|
|
|
|
|
Anyone else using scrum[^]? We're beginning to use it at our company and I was wondering if any CPians had good/bad stories to share.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib@ravib.com
|
|
|
|
|
I have heard that it is an excellent project management tool by several colleagues. I have never used it personally though
|
|
|
|
|
Actually it's a process, not a tool, but maybe you meant that.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib@ravib.com
|
|
|
|
|
I've used scrum-like techniques for many, many years at all kinds of companies. I'm sure many people here have as well - it just wasn't called "scrum" and formally defined until a couple of years ago. As to my personal experience, it's helped successfully ship quite a few products and I absolutely prefer it to older methodologies such as SDLC.
Tom Archer - Visual C++ MVP
Archer Consulting Group
|
|
|
|
|
I was looking at an article here about an editable browser (http://codeproject.com/editctrl/HtmlEdit.asp) which is the sort of thing I am looking for. It mentions that I have to have a recent SDK update installed.
According to the Microsoft site, the Feb 2003 SDK is the latest that is compatible with vc6, so I got that and installed it.
Unfortunately, when I compile the demo program from the article, I get error messages such as:
IDM_IE50_PASTE' : undeclared identifier
IDM_GETFRAMEZONE' : undeclared identifier
IDM_RESPECTVISIBILITY_INDESIGN' : undeclared identifier
HtmlEditCtrl2.cpp(1627) : error 2039: 'InlineIsEqualGUID' : is not a member of '`global namespace''
which suggests that the compiler is not finding the declarations.
My question is, what do I need to do to fix it? Do I need to put the SDK files in a certain place? set a path in vc6? what?
I already posted this question (in a little less detail) on the page of this article, but I have not gotten any response, so I figured I'd try here.
This is obviously the first time I've installed SDK updates, and I clearly am not doing something correctly.
Thanks for any info.
|
|
|
|
|
What is the value of WINVER and _WIN32_WINNT ?
Is HtmlEditCtrl2.h being included before anything else?
Do you have the IDE set to search the ...\Microsoft SDK\Include folder before the ...\VC98\Include folder?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
First off, wow! I'm forever impressed at how quickly you guys manage to give good answers to questions. So thanks.
OK, to answer your questions:
1) Value of WINVER and _WIN32_WINNT? I'm afraid I'm ignorant enough that I have no idea where to look or how to find that answer. Sorry.
2) Is it included before anything else? If you mean in the Dlg.h, then yes.
3) Search the SDK path before? It was NOT, but it is now. So that solved the compile problem. But that has revealed another problem that I will go ahead and ask you about (knowing full-well you may not be able to answer this one):
Now I get a linking error: unresolved external symbol _WinMain@16
Any thoughts on that one?
I was hoping to just download the demo from the article and see this thing in action. That's why I don't really know much about the "program."
Regardless of whether or not you can answer my latest question, thanks for your very quick reply -- since question #3 solved my original problem.
So many of you guys that prowl these boards are awesome, so thanks to you all.
|
|
|
|
|
It just occurred to me that I pasted in only part of the link error line. I figured I should problably include the whole line:
msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Thanks.
|
|
|
|
|
|
|
I want to send a list of specific files present on my server however those files need to be secure (not directly accessible by any way). Then on a request for a file from a client, I want to transfer a file from my ISAPI app. How do i get it on client side using WinInet API in a VC++ program.
Also, I want to make sure that the specific set of files should not be accessed from any clients directly. They should be able to access only those files which are marked as ready by my ISAPI dll.
B2C
|
|
|
|
|
I have a Visual Dev V6 C++ application using satellite DLLs for localization.
Everything works fine except for Tooltips for the Toolbar. They are translated in the resource DLL. Is there a special call needed?
Thanks,
-- Harald
|
|
|
|
|
Is there any easy way to capture the client area..and save in the hard disk as Bitmap.
thanx in advance.
|
|
|
|
|
|
Sure. If you have a window handle, do something like:
HDC hdc = ::GetDC(hWnd);
CDC dc, memDC;
dc.Attach(hdc);
memDC.CreateCompatibleDC(&dc);
CRect rc;
::GetClientRect(hWnd, &rc);
CSize sz(rc.Width(), rc.Height());
CBitmap bm;
bm.CreateCompatibleBitmap(&dc, sz.cx, sz.cy);
CBitmap *pOldbm = memDC.SelectObject(&bm);
memDC.BitBlt(0, 0, sz.cx, sz.cy, &dc, 0, 0, SRCCOPY);
memDC.SelectObject(pOldbm);
bm.Detach();
::ReleaseDC(dc.Detach());
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
anyone has an idea what alternatives to FileSystemWatcher class in .net are available in C++.
Thanks in advance
shakoosh
|
|
|
|
|
Although not C++, see ReadDirectoryChangesW() and FindFirstChangeNotification() .
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Thank you much, that's exactly what i needed.
shakoosh
|
|
|
|
|
ReadDirectoryChangesW() and FindFirstChangeNotification() works under windows but when you use it under linux with samba it doesn't work.
Is someone can help me ? I want to have a filesystemwatcher with mfc (not in donet)
thanks
|
|
|
|
|
I am having a difficult time convincing DevStudio 97 to accept and display Chinese character fonts during program time. When I run the exe the Chinese characters display fine, but only at runtime. I have been through all of the necessary steps with WinXP and the problem lies solely within Studio97 and C++. Does anybody have any ideas or suggestions specific to C++ 5.0 or Studio 97 that I am missing?
I have:
1) Installed/enabled East Asian fonts (XP)
2) Enabled various keyboard layouts applicable to the desired font (XP)
3) Installed appwzchs.dll
4) Set C++ resource files to default to ChinesePRC
5) Defined _Unicode
6) Entered WinMainCRTStartup as entry point in project settings
I am using PinYin IME.
I may be forgetting something here, if so I apologize. Any help, suggestions, critiques, ideas, etc. will be GREATLY APPRECIATED!!
|
|
|
|
|
An obvious statement but shouldn't you be using a more modern compiler ?
There could simply be a compatibility with some Windows API that has changed since VC++5.0.
Yes it costs money but sometimes saving money can be expensive.
The tigress is here
|
|
|
|
|
I agree, but unfortunately, I just work here..... My instructions have been to solve the problem using VC++ 5.0. There are also compatibility issues with the specific application of the software that would arise from upgrading to a newer compiler.
Thanks for your reply. )
|
|
|
|
|
In [Control Panel / Regional Settings / Advanced] there's an option named "Language for non-Unicode programs". Have you changed that to Chinese? DevStudio is most likely an ANSI application, so changing that option would be needed.
Hope that helps,
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|