Page 1 of 1

Access violation on dialog close

PostPosted: 25 May 2021 12:29
by mark
Hi,

When creating a message dialog runtime like below, I get an access violation when clicking the OK button quickly twice (or more).

Code: Select all
  LDlg := IWCGCreateMessageDialog('',
                                  mtInformation,
                                  [mbOk],
                                  procedure(Dialog: TIWCGJQMsgDialog; AResult: TModalResult)
                                  begin
                                  end);


Attached is a simple demo project, might take a few tries to get the error.
Is this an issue in the dialog component?

Mark

Re: Access violation on dialog close

PostPosted: 29 Jun 2021 17:57
by Alexander Bulei
Hi mark,
I've tried your testcase and can't reproduce.

BR

Re: Access violation on dialog close

PostPosted: 05 Jul 2021 12:39
by mark
Hi Alexander,

Thanks for your reply.
I retried with the latest version of the components and Delphi 10.4.2 and I can't reproduce the issue myself now either.
Maybe time to think about upgrading some tools.

Mark