Page 1 of 1

Access violation on program exit

Posted: Thu 23 Jul 2020 04:55
by tcxbalage
hello,

I have downloaded the Secure Bridge trial version, works fine except when I close the application.
If Im running it from Delphi I get an access violation error, if Im running the compiled app it exits without error, but stuck in the memory forever.

Im using Windows 7 + Delphi XE7.

Here is the code to reproduce the error:

Code: Select all

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ScHttp;

...

procedure TFrmMain.Button1Click(Sender: TObject);
var
  Request: TScHttpWebRequest;
  Response: TScHttpWebResponse;
begin
  Request := TScHttpWebRequest.Create('https://www.optionsprofitcalculator.com/ajax/getStockPrice?stock=HCA&reqId=0');
  try
    Response := Request.GetResponse;
    try
      // process response ...
    finally
      Response.Free;
    end;
  finally
    Request.Free;
  end;
end;


Re: Access violation on program exit

Posted: Fri 24 Jul 2020 12:16
by ViktorV
Thank you for the information. We have reproduced the issue and investigation is in progress. We noticed that this issue is related only to Trial Edition and is not reproduced in the licensed versions.

Re: Access violation on program exit

Posted: Fri 24 Jul 2020 13:04
by tcxbalage
Thank you for the quick reply. Its good news, I'll buy the product soon.

Re: Access violation on program exit

Posted: Fri 31 Jul 2020 15:23
by ViktorV
Thank you for the interest in our products.
Contact us if you have any questions about our products.