Hello everybody,
I am experiencing some troubles using the genesis C++ API, as i am not a C++ Programer (i am a c# - vb guy).
I have to use the C++ because they don't provide some data (noii) in the .net API.
Here is my problem:
I am not able to connect or to get their own source code to work (the one provided with the API).
I used visual studio 2003 and 2008 (MFC), and i get the same errors:
#1 - error LNK2019: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const * __stdcall GTSession::GetThisMessageMap(void)" (__imp_?GetThisMessageMap@GTSession@@KGPBUAFX_MSGMAP@@XZ) referenced in function "protected: static struct AFX_MSGMAP const * __stdcall CMySession::GetThisMessageMap(void)" (?GetThisMessageMap@CMySession@@KGPBUAFX_MSGMAP@@XZ) MySession.obj TestAPI
#2 - error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CMap<class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,char const *,class GTStock *,class GTStock *>::GetCount(void)const " (__imp_?GetCount@?$CMap@V?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PBDPAVGTStock@@PAV3@@@QBEHXZ) referenced in function "public: virtual int __thiscall CMySession::OnTick(void)" (?OnTick@CMySession@@UAEHXZ) MySession.obj TestAPI
I checked all the links and project property, nothing seems wrong.
Can someone help find out whats wrong?
Thank you.
I am experiencing some troubles using the genesis C++ API, as i am not a C++ Programer (i am a c# - vb guy).
I have to use the C++ because they don't provide some data (noii) in the .net API.
Here is my problem:
I am not able to connect or to get their own source code to work (the one provided with the API).
I used visual studio 2003 and 2008 (MFC), and i get the same errors:
#1 - error LNK2019: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const * __stdcall GTSession::GetThisMessageMap(void)" (__imp_?GetThisMessageMap@GTSession@@KGPBUAFX_MSGMAP@@XZ) referenced in function "protected: static struct AFX_MSGMAP const * __stdcall CMySession::GetThisMessageMap(void)" (?GetThisMessageMap@CMySession@@KGPBUAFX_MSGMAP@@XZ) MySession.obj TestAPI
#2 - error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CMap<class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,char const *,class GTStock *,class GTStock *>::GetCount(void)const " (__imp_?GetCount@?$CMap@V?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PBDPAVGTStock@@PAV3@@@QBEHXZ) referenced in function "public: virtual int __thiscall CMySession::OnTick(void)" (?OnTick@CMySession@@UAEHXZ) MySession.obj TestAPI
I checked all the links and project property, nothing seems wrong.
Can someone help find out whats wrong?
Thank you.

