Sample project written in lazarus (free pascal). Simple sqlite database manager.