You're welcome cpalx.
Another approach is also possible:
var ListTableName: Tstrings;
begin
ListTableName:= TStringList.Create;
if not Cache.GetTableNames( ListTableName ) then
ShowMessage( Cache.Error );
end;
In which case you could keep the TStrings var parameter for TSQLiteCache.GetTableNames. I would personally not opt for it in your case though as using TStringlist as var parameter makes things more explicit. btw: classes are passed by reference by default, so no need for using var modifier.