I have following code:
Tools::Logger.Log(string(GetLastError()), Error);
GetLastError()
returns a DWORD
a numeric value, but the constructor of std::string
doesn't accept a DWORD
.
What can I do?
See Question&Answers more detail:osI have following code:
Tools::Logger.Log(string(GetLastError()), Error);
GetLastError()
returns a DWORD
a numeric value, but the constructor of std::string
doesn't accept a DWORD
.
What can I do?
See Question&Answers more detail:os