What happens is when the following lines is execute I get an Access Violation on the last line.
Code: Select all
Connection := TUniConnection.Create (nil);
Connection.ProviderName := 'SQLite';
Connection.Database := GlobalConfigFilePath + 'Labels.s3db';
Connection.SpecificOptions.Values['ForceCreateDatabase'] := 'true';
Connection.SpecificOptions.Values['FetchAll'] := 'true';
What could be the reason for not getting the exception but an access violation?