Close MessageBox with X = Access violation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44810
    eledh
    Participant

      Hi,

      I tested your sample code, I also tried another modifications and no problem occured. It works properly without any AV.

      AC 7.30, Delphi 2007, Win7.

      Did you change anything else that is not in the sample code?

      #44813
      Gabor Boros
      Participant

        Hi,

        I just created a new application with the quoted FormCreate and Button1Click methods.

        I tried again and got different errors in different situations.

        If I run the application from the Delphi IDE I got AV, on same PC without the IDE

        the application freeze and eat CPU resources, on other PC I got Application error message.

        I use Delphi 2010 with Update 4,5 and Windows XP SP3.

        Now I attach the compiled sample application.

        Gabor

        'eledh' wrote:

        Hi,

        I tested your sample code, I also tried another modifications and no problem occured. It works properly without any AV.

        AC 7.30, Delphi 2007, Win7.

        Did you change anything else that is not in the sample code?

        #44815
        Support
        Keymaster

          Hello and thank you for the example. Difference is in Delphi versions.

          Delphi 7 haven't this problem, but Delphi 2010 have the error.

          This problem will be solved in the nearest release, I think.

          #44850
          Gabor Boros
          Participant

            Hi,

            My problem solved by 7.31. Thanks!

            Gabor

            'Support' wrote:

            Hello and thank you for the example. Difference is in Delphi versions.

            Delphi 7 haven't this problem, but Delphi 2010 have the error.

            This problem will be solved in the nearest release, I think.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.