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:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…