Hi, The documentation for OGROpen says that the data source should be deleted with "delete". But the type OGRDataSourceH is really a void * and you can't delete a void *. What type do I have to cast the result of OGROpen to in order to delete the source? Thanks, -- Andrew Bell andrew.bell.ia at gmail.com