// WindowsHelpers.h #include namespace WindowsHelpers { std::string wstringToString(const std::wstring& wstr); std::wstring stringToWideString(const std::string& str); std::string GetLastMsg(bool wantSocketMessage); }