Unifizz with Unidac Sqlite

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MaximG
Devart Team
Posts: 1817
Joined: Mon 06 Jul 2015 11:34

Re: Unifizz with Unidac Sqlite

Post by MaximG » Thu 13 May 2021 14:17

UniDAC allows loading extensions. The following code fragment shows how to load 'unifizz.dll' :

Code: Select all

 ...
  UniConnection.ProviderName := 'SQLite';
  UniConnection.SpecificOptions.Values['Direct'] := 'True';
  UniConnection.SpecificOptions.Values['EnableLoadExtension'] := 'True';
  UniConnection.Connect;
  UniConnection.ExecSQL('SELECT load_extension(''unifizz.dll'')')
 ...

Post Reply