Hello

I am using OGR to open "ESRI Shapefiles" and show the content of the .dbf
file. If the file is already open by other application(ie: Excel) and I ask
for the number of fields:

....
int fieldcount = layer->GetLayerDefn()->GetFieldCount();
I get 'fieldcount == 0'.

I`d like to know if there is a way to know if the .dbf is already open by
other application.

Thanks

OS: WinXp
COMPILER:  mingw
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to