<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Crashing Like VB</title>
	<atom:link href="http://www.davinciunltd.com/2007/11/crashing-like-vb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davinciunltd.com/2007/11/crashing-like-vb/</link>
	<description>Jim McKeeth's blog on creative and innovative Delphi programming.</description>
	<lastBuildDate>Wed, 07 Oct 2009 22:04:39 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim McKeeth</title>
		<link>http://www.davinciunltd.com/2007/11/crashing-like-vb/comment-page-1/#comment-88</link>
		<dc:creator>Jim McKeeth</dc:creator>
		<pubDate>Tue, 04 Dec 2007 05:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.davinciunltd.com/2007/11/crashing-like-vb/#comment-88</guid>
		<description>Great thanks Allen!  No yelling from me, that is for sure.  JITEnable is a cool feature if I ever feel the need to crash like VB.</description>
		<content:encoded><![CDATA[<p>Great thanks Allen!  No yelling from me, that is for sure.  JITEnable is a cool feature if I ever feel the need to crash like VB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Bauer</title>
		<link>http://www.davinciunltd.com/2007/11/crashing-like-vb/comment-page-1/#comment-77</link>
		<dc:creator>Allen Bauer</dc:creator>
		<pubDate>Wed, 28 Nov 2007 19:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.davinciunltd.com/2007/11/crashing-like-vb/#comment-77</guid>
		<description>Jim,

  I have a funny feeling that I&#039;m going to get yelled at here :-).  There is a one-line built-in solution to the above problem.  Many releases ago, I had taken into account that folks may want to invoke the built-in Windows error reporting or to allow a Just-in-Time debugger to be invoked when an exception is raised.

  Down inside the system unit, there is a global byte variable called JITEnable.  Simply set it to 1 to tell the exception system to pass all non-Delphi exceptions on through to the UnhandledExceptionFilter API, which is what will invoke either the registered JIT debugger or Windows error reporting.  You can also set this value to &gt;1 which will pass *all* exceptions raised to that API.

  This is a little different than the solution you propose above where it is only exceptions that percolate to the base handler that are passed off to the OS.  If they&#039;re caught and handled elsewhere, the OS will never know about them.  With the JITEnable technique, the exception is passed along at any  point exceptions are handled.

Allen.</description>
		<content:encoded><![CDATA[<p>Jim,</p>
<p>  I have a funny feeling that I&#8217;m going to get yelled at here <img src='http://www.davinciunltd.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .  There is a one-line built-in solution to the above problem.  Many releases ago, I had taken into account that folks may want to invoke the built-in Windows error reporting or to allow a Just-in-Time debugger to be invoked when an exception is raised.</p>
<p>  Down inside the system unit, there is a global byte variable called JITEnable.  Simply set it to 1 to tell the exception system to pass all non-Delphi exceptions on through to the UnhandledExceptionFilter API, which is what will invoke either the registered JIT debugger or Windows error reporting.  You can also set this value to &gt;1 which will pass *all* exceptions raised to that API.</p>
<p>  This is a little different than the solution you propose above where it is only exceptions that percolate to the base handler that are passed off to the OS.  If they&#8217;re caught and handled elsewhere, the OS will never know about them.  With the JITEnable technique, the exception is passed along at any  point exceptions are handled.</p>
<p>Allen.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
