http://msdn.microsoft.com/en-us/library/ms680582(v=vs.85).aspx

Implement this to get the last error description laugh
PS: though probably the solution of my preposter is correct...