Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hi all, can u tell me how to convert a BSTR to char(i want to display the bstr value)
Use the OLE2T() macro.
OLE2T()
Look! They have the Internet on computers now! (Homer J. Simpson)
Or assign it to a CString, or use _bstr_t Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;
e.g BSTR bstrValue _bstr_t bstrTemp(bstrValue); CString sValue = (LPCTSTR)bstrTemp;