I'm just learning ATL development. I've created a simple project ( w/out the use of mfc so there isnt any CString support ) but I have a method
STDMETHODIMP CFileIO::OpenFile(OpenFileIO nHow, BSTR sFile, BSTR *sNewFile)
I would like to convert the BSTR sFile to a basic_string so that I can manipulate it properly, however I'm not sure how to do this. I see so many types of conversion an not quite sure what to use. There is _bstr_t, CComBSTR, etc.
I would like to convert it to a basic_string and then manipulate it, maybe append it with something then convert it back to a BSTR as *sNewFile