OK I think I've solved this - I've managed to find the code that does the search and I need to call my dll ogr_xxx.dll not gdal_xxx.dll. OGR_DRIVER_PATH and GDAL_DRIVER_PATH are searched in that order. Ian -- Ian Turton