What am I failing to do in order to get a valid session?
HAPI_Session *session;
std:

pipe_name_os << “HE_Session” << ‘_’ << GetCurrentProcessId();
const std::string pipe_name = pipe_name_os.str();
HAPI_StartThriftNamedPipeServer( true, pipe_name.c_str(), 5000, NULL );
HAPI_CreateThriftNamedPipeSession(session, pipe_name.c_str() );
I also tried using the HAPI_StartThriftSocketServer and HAPI_CreateThriftSocketSession functions and still cannot get a session created.
I also tried starting a HARS Server manually and using netstat can see that my port specified is in a listening mode. I then tried to specify that port in the
HAPI_CreateThriftSocketSession function but the session is still undefined.
It would have been nice to have a complete working sample to show how to use the new session functions.