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)).
I see the problem. It is when the cache's files is writted in C:\Users\<>\AppData\Local\Gexperts\Delphi 6\UsesExpertCache. There is a problem with the memory management of delphi (???) and it fails but not at each files. Very strange. I try to clear the cached files and with version 1.3.18, I have the same behaviour! I found a workaround to correct it (with delphi6; I doesn't have other version to test, but I think it will work on other version) I change the TStream_WriteString in u_dzClassUtils...
I see the problem. It is when the cache's files is writted in C:\Users\<>\AppData\Local\Gexperts\Delphi 6\UsesExpertCache. There is a problem with the memory management of delphi (???) and it fails but not at each files. Very strange. I try to clear the cached files and with version 1.3.18, I have the same behaviour! I found a workaround to correct it (with delphi6; I doesn't have other version to test, but I think it will work on other version) I change the TStream_WriteString in u_dzClassUtils...
I see the problem. It is when the cache's files is writted in C:\Users\<>\AppData\Local\Gexperts\Delphi 6\UsesExpertCache. There is a problem with the memory management of delphi (???) and it fails but not at each files. Very strange. I try to clear the cached files and with version 1.3.18, I have the same behaviour! I found a workaround to correct it (with delphi6; I doesn't have other version to test, but I think it will work on other version) I change the TStream_WriteString in u_dzClassUtils...
OK, I understand. I must set debug infos.
OK. Now I can run. But I don't see how to debug. I have no compiled line. (I try to break in initialization of GX_About.pas)
I have directly this error and no other, but sometimes I have this error after from delphi.
I have directly this error and no other.
Version gexperts 1.3.18
Exception on delphi6 close
I haved exactly the same problem with Delphi6. I have to untick Grep and Grep Results in configuration, accept, and retick again and it's OK until I close delphi.
gexperts delphi6 1-3-20 not working