I have a problem Brucey. If I open a connection to a database (SQLite), run a query, then close the connection, it's not possible to delete the file using DeleteFile().
It's as if the file is still in use. I notice that if I take out the query on the database it can be deleted as normal.
It's as if the file is still in use. I notice that if I take out the query on the database it can be deleted as normal.