Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


Exceptions handling library


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008, 06:54 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,208
Awards Showcase
Forum Contributer 
Total Awards: 1
Default Exceptions handling library

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
File Type: zip Exceptions1.0.zip (22.8 KB, 80 views)
File Type: zip ExceptionsSource1.0.zip (789 Bytes, 25 views)

Last edited by agraham : 05-28-2008 at 11:51 AM.
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 07:32 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Really great work Andrew!
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 08:40 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,208
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by dzt View Post
Really great work Andrew!
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.
Reply With Quote
  #4 (permalink)  
Old 05-15-2008, 05:45 AM
Knows the basics
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 71
Default

Thanks for that !

regards

TWELVE
Reply With Quote
  #5 (permalink)  
Old 05-15-2008, 09:35 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,633
Default

Thank you for this very important library.
Reply With Quote
  #6 (permalink)  
Old 05-28-2008, 11:52 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,208
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Source code for dll merging posted in original post.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port handling mjcoon Questions & Help Needed 5 06-26-2008 10:48 AM
CryptoEx and Exceptions manuals are online Erel Announcements 0 05-17-2008 01:20 PM
Error handling in Basic4PPC TWELVE Questions & Help Needed 8 05-14-2008 06:56 PM
Exceptions encountered agraham Bug Reports 17 07-27-2007 09:24 PM
Exception Handling Astragali Questions & Help Needed 2 05-23-2007 12:44 AM


All times are GMT. The time now is 12:58 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0