: Project Web Hosting - Open Source Software

Users

See CWinException C++ declaration

Download files

Project detail and discuss

Get support

Not what you're looking for?

SourceForge.net hosts over 100,000 Open Source projects. You may find what you're looking for by searching our site or using our Software Map.

You may also want to consider these similarly-categorized projects:

Project Information

About this project:

This is the CWinException project ("cppwinex")

This project was registered on SourceForge.net on 22-01-2009, and is described by the project team as follows:

CWinException is a Powerful Exception Class Designed to Track Win32/COM/MFC Errors

Correct and convenient handling of errors usually becomes a headache if you don't use a good technique. If you're interested in writing robust, readable and elegant code this class will be helpful.

The main benefit it provides is the ability to unify all sources of errors. Say it tries to gather all sorts of errors you may raise in you program.

Let's see what are those typical sources:

1) Win32 API calls, like ::CopyFile(...)
2) COM calls, which always return HRESULT values, like ::CoInitialize(...)
3) MFC calls, like CString strTmp("");

Those above are 'typical', but not alone ... Many more come with

4) STL calls
5) COM support calls (_com_error), if you use #import "smth.tlb"
6) Errors and exceptions from other libraries you use

We usually don't pretend to solve this puzzle and just ignore the stuff, except some critical spots. Well that's OK most of the time, but ... if you write commercial software how could you be sure that it won't crash in front of the customer's face? We try introducing a possible way to escape such blots and catch the goal of increasing your chances to succeed.

We bet your code won't crash even after dereferencing NULL pointer.

See this C++ class declaration

About SourceForge.net:

SourceForge.net is the world's largest provider of hosting for Open Source software development projects. SourceForge.net provides a variety of services to projects, including a download mirror network, collaborative development tools (like CVS and Subversion), and tools to support discussion and support. These services are provided to projects and their end-users free-of-charge.

About Open Source:

Of benefit to users, Open Source software is licensed so you can download and use the software free-of-charge. The source code for this software is made available free-of-charge, you (or a programmer you hire) can make changes to this software to better meet your needs, and you can release your changed code back to the community passing the benefit on to other users.

The exact license terms used by this project on their project summary page and in the licensing documents included in their downloads.

Developers

Join this project:

To join this project, please contact the project administrators of this project, as shown on the project summary page.

Get the source code:

Source code for this project may be available as downloads or through the CVS or Subversion SCM repository used by the project, as accessible from the project summary page.

Update project web pages:

This page is the default project web page supplied by SourceForge.net. If you are a member of this project, you can deploy your own project web pages as per our site documentation.

If you are a web page developer interested in this project, please consider reaching out to the project admin (per the "Join this project" section, above) to offer your assistance.

Project Web Hosted by SourceForge.net

©Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved

About - Legal - Help