LPOLESTR to std::string conversion



Hi all,
I'm getting a real but stupid problem here : I need to convert a
LPOLESTR string into a std::string string. At least, I have to
transform this LPOLESTR into a char* or any normal string !
I've read that WideCharToMultiByte could be used to do something like
that, but I don't understand what to do with this horrible function...

Any idea ?
Thanks in advance.


Florent

.



Relevant Pages


Loading