Hi All,<br>   How can make OGRSFDriverRegistrar::Open fails when trying 
to open an ESRI Shapefile and the first parameter &quot;<i>pszName&quot; has 
extension different to &quot;shp&quot;</i>?<br><br>I know when extension is 
different to &quot;shp&quot;, &quot;dbf&quot; and &quot;shx&quot; it fails, but I need that also fails
 when extension is &quot;dbf&quot; or &quot;shx&quot;.<br>
<br>Any idea?<br><br>Thanks in advance.<br>Alejandro.<br>