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)).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Version gexperts 1.3.18
Was this the only error message or did you get different one before that?
I have directly this error and no other, but sometimes I have this error after from delphi.
Last edit: carrchri 2022-04-01
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)).
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.
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.
See my video. Only open the unit1.pas/.dfm.
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.
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
I don't know enough the ide to do more and find how resolve this.