Using HResults Value
Nov 8, 2007
Is there a way to map HResult value and get a description out of it?
When I get an exception like this, Exception from HRESULT: 0xC02020E8, I want to log a meaning ful exception details as in the link.
http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.hresults_members.aspx
While there is a HResults class, its not helpful.
Thanks
View 5 Replies
Sep 10, 2007
Hi, I'm fairly new to coding with ADO in C++. My previous experience with it was in VB 6.0 and VB.NET. I'm having difficultly deciphering HRESULTs that come back from it when an error occurs. Up until this point I was using,
DXGetErrorString9(), and DXGetErrorDescription9() to interpret any HRESULT that got sent back to my program, but now that I'm using ADO they always return "Unknown".
Is there a Microsoft provided group of functions that help programmers to better understand ADO's HRESULTs?
Thanks,
Kyle
View 3 Replies
View Related