Code: Select all
void ConnectionTest::getCharactorList( )
{
std::string* stdRequest = new string("getCharactorList");
ISFSObject * param = new SFSObject;
mSmartFox->Send( new ExtensionRequest(stdRequest, NULL) );
}
And i got a link error:
error LNK2019: "public: __thiscall Sfs2X::Entities::Data::SFSObject::SFSObject(void)" (??0SFSObject@Data@Entities@Sfs2X@@QAE@XZ)
But the other function, like new LogoutRequest work fine.
By the way, it VS2010 and C++ API 0.9.3.