- (void) closeDBFfile;

When you finish working with a DBF file you have to close it.


{
    cdbfapi *dbf = [cdbfapi new];
    if ([dbf openDBFFile:@"./example.dbf"])
    {
        // your code
        [dbf closeDBFFile];
    }
    dbf = nil;
}