Download this article, together with the two demonstration programs Except1.exe and Except2.exe and their source code.