<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2706" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=091084121-19072006>FYI - we found a 
very annoying and subtle bug recently in OGR when your custom error handling 
throws an exception (in VC 7.1).&nbsp; The default project is built with /EHsc, 
and for a variety of reasons the exception is not handled properly by the 
compiler and Mutex's don't properly unlock, creating a deadlock condition later 
on.&nbsp; Needless to say, this was not fun to debug.&nbsp; So anyway, if 
you&nbsp;throw an&nbsp;exception from the function you registered in <FONT 
size=2>CPLSetErrorHandler, make sure that you compile GDAL/OGR with /EHa instead 
of /EHsc and all will be well.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>Ned</FONT></DIV></BODY></HTML>