Just another Developer Network site Converting Win32 API results to std::wstring (or std::string) Hmm. Just realized that this is a bit out of order and should have been published before the... Author: Larry Osterman [MSFT] Date: 11/24/2015 ExpandEnvironmentStringsA returns a different required buffer length than ExpandEnvironmentStringsW I was writing some ANSI-only code the other day to handle t
![Larry Osterman's WebLog](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)