Link to home
Start Free TrialLog in
Avatar of Masonok
Masonok

asked on

HRESULT in OLE DB - what does it mean?

Dear all!
How can I get the meaning of HRESULT codes in OLE DB?
F.e.
HRESULT hr = RS.SetData();... hr = 265946
HRESULT hr = RS.Update();... hr = -2147467262
HRESULT hr = RS.Insert();... hr = 0
hr = 0 -> DBSTATUS_S_OK - means that everything is OK! but the rest codes....

Is there any documentation with the list of these numbers and descriptions or PROGRAM which can translate this number into something understandible???

PS: I know that in MSDN there are descriptions for DBSTATUS_*_* but there are no numbers. but I don't want to spend my time for switch-case typing... So the answers look in MSDN are not acceptable.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear Masonok

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "jkr"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
Avatar of Mindphaser
Mindphaser

Force accepted

** Mindphaser - Community Support Moderator **