Possible Duplicate:
How to convert CString and ::std::string ::std::wstring to each other?
Ok, I know my question may be trivial, but I have not yet found how I can convert an ATL::Cstring to a basic string. I have tried the "converting from CString example" of the page http://msdn.microsoft.com/en-us/library/ms235631%28v=vs.80%29.aspx but it does not work. Any due indication?