Making a COM dll to be invoked from c#, HRESULT error handling?
- by Daniel
I'm making a COM interface that c# will be using, however i am wondering how i am to check for errors and exception handling on the c# end as at the moment i am just returning a HRESTULT or bool for most methods. But several things can go wrong in some of these methods and returning a E_FAIL just doesn't cut it.
What can i do in order to return more information? Can i make a HRESULT of my own?