CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006

    Is there a list of .Net exception codes?


    I have a complex ActiveX DLL written in MS Visaul C++ 6 and called from a C# application through COM Interop. It appears there may be a memory leak in the ActiveX DLL. I tried to run the application through the MS Visual C++ debugger, specifying the C# executable as the startup program. The program immediately through an exception with an error code of 0xE0434F4D. There was no explanation available.

    As I was searching the Internet for the error code, I came across a page discussing the use of WinDBG to track down exceptions. By chance, the exception used to illustrate the article had the same error code. It was a System.ArgumentException. Sure enough, when I checked my program, I realized that I had not supplied a required command line argument.

    Is there a table or web page or some such thing that lists exceptions that can be raised in the .Net world, and what error codes would be associated with them in case they show up in an old-style debugger?


  2. #2
    Join Date
    Dec 2008

    Re: Is there a list of .Net exception codes?

    I'm not sure how up to date his book is (mine is .NET 1.1), but Adam Nathan's COM and .NET Interop book has such a table, mapping Win32 error codes to .NET exceptions and back.

  3. #3
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Is there a list of .Net exception codes?

    Quote Originally Posted by teramorphous View Post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.