How to get the BSTR value set through property in ATL COM Dll
Posted on 2002-03-28
I have created a property in my COM Dll and the property type is BSTR.I have retrieved a char * and want to get it thru property .How to do that ????
STDMETHODIMP XYZ::get_Path(BSTR AppName, BSTR *pVal)
//Retieved a chsr * value lets say "Hello".
How can I get it as return value in pVal????
Can I Type cast it.If yes,how???