Android smartphone

2011-07-21

MIDAS.DLL

Trick of MIDAS.DLL
When developer using TClientDataSet controls.Developer must copy MIDAS.DLL to Windows\System32.
But. It not necessary.Only you define midaslib in uses block.
=========================================================================

EXAMPLE:
unit tesetconnu;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, DBGrids, DB, DBClient, MConnect, SConnect,Midaslib ;

type
  TfTestConn = class(TForm)
    sck1: TSocketConnection;
    cds1: TClientDataSet;
    ds1: TDataSource;
    dbgrd1: TDBGrid;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fTestConn: TfTestConn;

implementation
{$R *.dfm}

end.
-------------------------------------------------------------------------------------------------------------

No comments: