SyntaxFix
Write A Post
Hire A Developer
Questions
MSDN has some sample code that demonstrates how to use FormatMessage() and GetLastError() together: Retrieving the Last-Error Code
FormatMessage()
GetLastError()