Catching COMException specific Error Code

前端 未结 3 931
离开以前
离开以前 2020-12-09 08:45

I\'m hoping someone can help me. I\'ve got a specific Exception from COM that I need to catch and then attempt to do something else, all others should be ignored. My error m

3条回答
  •  情话喂你
    2020-12-09 09:13

    I actually managed to get it running on the system I needed and found the error code was -2146807284.

    Looking at that, if I convert the 0x800A03EC to Binary, then treat it as 2's compliment, then you can calculate the value.

提交回复
热议问题