I have a very frustrating issue trying to create a new SQLite db. when I run this code
Code: Select all
procedure TdmMain.DataModuleCreate(Sender: TObject);
var
UniConnection: TUniConnection;
begin
UniConnection := TUniConnection.Create(nil);
try
try
UniConnection.ProviderName := 'SQLite';
UniConnection.Database := 'C:\DevNew\Trader\test.db';
UniConnection.SpecificOptions.Values['Direct'] := 'True';
UniConnection.SpecificOptions.Values['ForceCreateDatabase'] := 'True';
UniConnection.Connect;
except
on E: EXCEPTION do
dbOk := False;
end;
finally
UniConnection.Free;
end;
end;
Code: Select all
ThreadId=1828
ProcessId=3
ThreadName=""
ExceptionMessage="Feature is not supported"
ExceptionName="Exception"
ExceptionDisplayName="Exception"
ExceptionAddress=76CCCA42
FileName=<not available>
LineNumber=<not available>
ExceptionObject=0409EC40
Classes=[Exception,TObject]
I am using UniDac 9.2.1 Std, from Delphi 11; error occurs in windows 32 bit and 64. My intention is for this to run in Mac, IOS and Android later on too.
-Allen