There is C ++ COM. And that sometimes challenges SomeMethod() . C ++ Com supports ISupportErrorInfo and populates IErrorInfo . How can I get IErrorInfo.Description in C #?
This code catches the error, but there is no cpp message in it.
try { COM.SomeMethod() } catch (COMException exn) { string ACppErrorMessage = exn.message; outputError(ACppErrorMessage); }
source share