Exceptions handling library

Discussion in 'Additional Libraries' started by agraham, May 14, 2008.

  1. agraham

    agraham Expert Licensed User

    Now that Basic4PPC version 6.30 is released I can also release my Exceptions library. Erel has added a new B4PObject(6) that provides access to exception details. Now you can identify the exception and handle it appropriately. Naturally this only works on version 6.30 or later!

    The help file includes a description of .NET exceptions and how they are handled in Basic4PPC. The Exceptions library will work on device and desktop and under .NET 1.0/1.1 and 2.0. It will work in the IDE and both legacy and optimised compiled apps.

    Exceptions2.dll is a .NET 2.0 only library that is the same as Exceptions but can also return a Stack Trace if required, a facility that needs .NET 2.0. The Exceptions library will be more than adequate for most uses.

    EDIT : - Source code for dll merging posted. Put it in your Basic4ppc Deskop\Libraries folder

    Attached Files:

    Last edited: May 28, 2008
  2. dzt

    dzt Active Member Licensed User

    Really great work Andrew!
  3. agraham

    agraham Expert Licensed User

    Thanks Dimitris :) I've wanted some better exception handling for a while now and luckily Erel agreed with my suggestion as to how to do it and put it in version 6.30.

    TWELVE Active Member Licensed User

    Thanks for that !


  5. Erel

    Erel Administrator Staff Member Licensed User

    Thank you for this very important library.
  6. agraham

    agraham Expert Licensed User

    Source code for dll merging posted in original post.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice