Access violation on program exit

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
tcxbalage
Posts: 5
Joined: Sat 04 Apr 2020 10:45

Access violation on program exit

Post by tcxbalage » Thu 23 Jul 2020 04:55

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;


ViktorV
Devart Team
Posts: 2855
Joined: Wed 30 Jul 2014 07:16

Re: Access violation on program exit

Post by ViktorV » Fri 24 Jul 2020 12:16

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.

tcxbalage
Posts: 5
Joined: Sat 04 Apr 2020 10:45

Re: Access violation on program exit

Post by tcxbalage » Fri 24 Jul 2020 13:04

Thank you for the quick reply. Its good news, I'll buy the product soon.

ViktorV
Devart Team
Posts: 2855
Joined: Wed 30 Jul 2014 07:16

Re: Access violation on program exit

Post by ViktorV » Fri 31 Jul 2020 15:23

Thank you for the interest in our products.
Contact us if you have any questions about our products.

Post Reply