CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Access violation on dialog close

by mark » 25 May 2021 12:29

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
You do not have the required permissions to view the files attached to this post.
mark
 
Posts: 3
Joined: 05 May 2021 14:18

by Alexander Bulei » 29 Jun 2021 17:57

Hi mark,
I've tried your testcase and can't reproduce.

BR
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mark » 05 Jul 2021 12:39

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
mark
 
Posts: 3
Joined: 05 May 2021 14:18


Return to IWCGJQMessageDlg

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.