I am using MyDAC 12.4.0 with Delphi 10.2
Using MyConnection1 and Myconnection Dialog
Anytime there is a login mistake, wrong password or user, the second attempt throws the flowing error:
assertion failure
"d:\jenkins\workspace\DAC\MyDAC\Delphi\Dac\Common\Source\CRVioTcpSSL.pas"
Only options changed
Options.Protocol = mpSSL
ConnectDialog = MyConnectDialog1
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBAccess, MyDacVcl, Data.DB, MyAccess,
Vcl.StdCtrls;
type
TForm1 = class(TForm)
MyConnection1: TMyConnection;
MyConnectDialog1: TMyConnectDialog;
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
Myconnection1.Connect;
if MyConnection1.Connected then edit1.Text:='yes';
end;
end.