[gdal-dev] Building with SEH

Chris Howell chowell at pyxisinnovation.com
Tue Mar 11 23:25:20 EDT 2008


Hi All, 

Currently there is an error with one of the drivers in OGR whereby if a corrupted or just generally malformatted shape file is attempted to be opened through OGR, there is an exception that is generated in the VC Runtime, where OGR completely crashes and I can't trap the exception to handle it at application level because the runtime is crashing. What I am wondering about is there a way I can compile GDAL with SEH enbabled turning exceptions that are generated at the OS level into standard C++ exceptions I can trap and handle appropriately ? I looked in the make file and the options file and didn't seen anything obvious. 

Any light anyone can shed on this would be greatly appreciated. 

Cheers
Chris Howell
Software Engineer
the PYXIS innovation
www.pyxisinnovation.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080311/8b98de1e/attachment-0001.html


More information about the gdal-dev mailing list