I've looked up the msdn and tested the function: _bstr_t( BSTR bstr, bool fCopy ) throw ( _com_error ). I've also looked the comutil.h to see how the class _bstr_t is defined. But I still failed to convert the BSTR to _bstr_t.
Every time when I convert the BSTR to _bstr_t, the m_str of the _bstr_t shows CXX0030:Error:expression cannot be envaluated. Why? What's the function of m_str in the class _bstr_t? Please help me. If I don't solve this problem, I cann't go forward my job.
zyhu
zhiyuan_hu@hotmail.com
[sig][/sig]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.