Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15136

firedac Control OCX FOR VB6, Faster than Microsoft ADO

$
0
0
I heard from a friend that the control version is free, and the static compilation of the LIB version is charged. Who has written the code that VB calls?

Home | SQLAPI++
https://www.sqlapi.com/

delphi FireDAC, ADO performance test
http://www.delphitop.com/html/shujuku/5713.html

Code:

uses
  FireDAC.Comp.Client, FireDAC.Stan.Intf;
var
  oDef: IFDStanConnectionDef;
begin
  oDef := FDManager.ConnectionDefs.AddConnectionDef;
  oDef.Name := 'MSSQL_Connection';
  oDef.DriverID := 'MSSQL';
  oDef.Server := '127.0.0.1';
  oDef.Database := 'Northwind';
  oDef.OSAuthent := True;
  oDef.MarkPersistent;
  oDef.Apply;
  .....................
  FDConnection1.ConnectionDefName := 'MSSQL_Connection';
  FDConnection1.Connected := True;
end;


Viewing all articles
Browse latest Browse all 15136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>