How to get real errors in .NET

400
1
07-08-2011 12:53 PM
TomislavUrban
New Contributor
I'm attempting to develop an Arc Engine Win forms application. However, I've found it very difficult to work as nearly all of the errors coming back from the COM objects take the form of:

Error HRESULT E_FAIL has been returned from a call to a COM component.

Is there any way to get to the actual underlying COM Exception? I'm caught guessing at what could possibly be the problem with nothing to go on.
0 Kudos
1 Reply
RichardWatson
Frequent Contributor
I think that you have all the error information that is available.  Restated, if you wrote this in unmanaged C++ and called the member function then it would return an HRESULT of E_FAIL.
0 Kudos