gexperts delphi6 1-3-22 exception
See my video. Only open the unit1.pas/.dfm.
I don't know enough the ide to do more and find how resolve this.
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.
OK. But the expertmanager.exe always do an error.
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 test again the asline with Assert(Result=(UNIT_IDENTIFIER_TYPE_CHARS[itUnknown] + AnsiChar(#9) + Long2DecA(FLineNo) + AnsiChar(#9) + FIdentifier)); and I have no error. I think it was a corruption with TStream_WriteString bug.
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)).