API 1.6.4 Example from docs2x not working
Posted: 21 Sep 2016, 18:33
Hi!
Example link - http://docs2x.smartfoxserver.com/api-docs/cpp-doc/class_sfs2_x_1_1_requests_1_1_set_user_variables_request.html
I try to send SetUserVariablesRequest like in example:
But compiler says:
API version 1.6.4
VS 2015
Help please
Example link - http://docs2x.smartfoxserver.com/api-docs/cpp-doc/class_sfs2_x_1_1_requests_1_1_set_user_variables_request.html
I try to send SetUserVariablesRequest like in example:
Code: Select all
boost::shared_ptr<UserVariable> variable (new UserVariable ("avatarType", "SwedishCook", VARIABLETYPE_STRING));
But compiler says:
Code: Select all
Error C2259 'Sfs2X::Entities::Variables::UserVariable': cannot instantiate abstract class
API version 1.6.4
VS 2015
Help please