Re: COMException Error Codes - WeOnlyDo Discussion board

Re: COMException Error Codes (General questions)

by wodDamir, Wednesday, August 20, 2008, 00:09 (5721 days ago) @ thehin

Hi,

Actually, in order to convert this error into the one provided by us, you should take that number (-2146818240), and convert it to HEX. Then take the last 4 digits (2740), and convert them back to Decimal. That should give you 10048.

I honestly can't tell you why this happens in C#, but for some reason those errors are converted to it's own format.

Hope this helps.

Regards,
Damba


Complete thread: