• Advertisement

Archived

This topic is now archived and is closed to further replies.

Creating string from BSTR

This topic is 5059 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know how to make a BSTR from a CString object but can''t find the way to do the other way around. Does anyone know how to create a CString object from a BSTR

Share this post


Link to post
Share on other sites
Advertisement
Huh? Last time I checked you could just do:

BSTR bstr = SomeFunction();
CString str(bstr);

Share this post


Link to post
Share on other sites

  • Advertisement