Page 1 of 1

Unable to get session state

Posted: 17. Feb 2009, 12:45
by vazzdoin
unable to get sessionType ?

Posted: 17. Feb 2009, 14:56
by TerryE
That's because GetSessionType expects to return a PRUnichar* so you have to pass it a PRUnichar** so

Code: Select all

PRUnichar* Stype;
...
machine->GetSessionType(&Stype); 
Nothing do with VBox; just C++ 101

Posted: 18. Feb 2009, 10:47
by vazzdoin
thanks .
i already had taken the PRUnichar as datattype, but i was not declaring a pointer type variable. Here was the fault. thanks a lot.