Click here to Skip to main content
15,878,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I should receive a VT_BSTR from a soap client but what I get is a VT_DISPATCH variable.There is some information available on the internet but I still havnt been able to convert it into something meaningful.
C++
hresult = m_ptrSoapClient->Invoke(dispid, IID_NULL,LOCALE_USER_DEFAULT,DISPATCH_METHOD,&dispparams, &returnval, &excepinfo, &uArgErr);//returnval is of type VT_BSTR
CString temp= returnval.bstrVal;//temp gets arbitrary characters
Posted
Updated 21-Aug-11 21:54pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900