Menu

#286 Exception on delphi6 close

New
open
nobody
None
5
2022-04-25
2022-03-31
carrchri
No

Discussion

  • carrchri

    carrchri - 2022-03-31

    Version gexperts 1.3.18

     
  • Thomas Mueller

    Thomas Mueller - 2022-04-01

    Was this the only error message or did you get different one before that?

     
    • carrchri

      carrchri - 2022-04-01

      I have directly this error and no other, but sometimes I have this error after from delphi.

       

      Last edit: carrchri 2022-04-01
  • carrchri

    carrchri - 2022-04-05

    I see a part of the problem. It is due to exception on delphi close that not runs the destroy of gexperts (why ???) and all components make their destroy not in right order.
    I correct some little errors, but the main problem is the exception on delphi close not catched by the gexperts (but how can I catch them ?)
    I will investigate a little more. (I see that there is perhaps some problems when I have more files open in ide with the same name (not the same path)).

     
  • carrchri

    carrchri - 2022-04-11

    I find the problem. It comes when there are inherited forms not added in project but open in ide with the parent form added in project.
    You can try to just open this file joined in delphi6 ide and close delphi6.

     
    • Thomas Mueller

      Thomas Mueller - 2022-04-15

      I guess you meant I should open these forms in the IDE in addition to the GExperts project and then exit the IDE?
      I just tried that (without applying your proposed GExperts modifications) but nothing happened. If you can really reproduce the problem this way, please supply some more detailed instructions.

       
      • carrchri

        carrchri - 2022-04-25

        See my video. Only open the unit1.pas/.dfm.

         
  • carrchri

    carrchri - 2022-04-11

    I send you some modifications I do. It corrects some problems when there are errors to close correctly all. And some are for debug. Now I am on state where I have only the problem described in my previous post.

     
    • Thomas Mueller

      Thomas Mueller - 2022-04-15

      Thanks for these and also the hints on the cause. I'll have a look.

      The changes to GX_EditorChangeService definitely make a lot of sense even though of course they do not solve the problem but only replace the Access Violation with an Assertion Failure. But at least they give a clue to the cause.

      I've now committed all your changes (with some modifications). Thanks again

       

      Last edit: Thomas Mueller 2022-04-15
  • carrchri

    carrchri - 2022-04-11

    I don't know enough the ide to do more and find how resolve this.

     

Log in to post a comment.

MongoDB Logo MongoDB