Delphi XE6“错误阅读表单” [英] Delphi XE6 "Error reading form"
问题描述
自从最近几个XE版本发布以来一直存在问题,在打开项目后,如果我在IDE中打开的第一个表单具有大量的VCL,我会收到这样的错误
Been having an issue since the last few XE releases, after opening a project, if the first form I open in the IDE has a considerable amount of VCL, I get an error like this
如果上次关闭该项目时保存的该项目已保存,则也会发生这种情况,然后在重新启动Delphi时错误弹出,并且它会自动加载上一个项目或在加载项目之后。
This also happens if the project had been saved with that form opened last time I closed it, then the error pops right as I restart Delphi and it automatically loads the last project or after loading the project.
只有在我第一次打开Delphi后才会发生。如果我关闭项目然后在不关闭IDE的情况下重新打开它,则不会发生。
It happens only after the first time I open Delphi. If I close the project and then reopen it without closing the IDE, this doesn't happen.
TPngImageList并不特定,组件因项目而异。发生这种情况时,我必须注意不要保存表单,否则将丢失对这些项目的引用,我必须先关闭而不保存,然后再次打开它,然后错误消失了。
It's not specific to TPngImageList, the component varies from project to project. When this happens I must be careful not to save the form, otherwise the references to those items are lost, I must close without saving then open it again, and then the error is gone.
任何
推荐答案
这似乎可以解决此问题:
This seems to fix it:
https://www.idefixpack.de/blog/ide- tools / ide-fix-pack /
禁用IDE程序包和调色板缓存
"Disable IDE Package and Palette Cache"
这篇关于Delphi XE6“错误阅读表单”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!