Delphi XE6 “Error reading form”

别等时光非礼了梦想. 提交于 2019-12-11 05:50:39

问题


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

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.

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.

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.

Any idea what's wrong and how to fix this?


回答1:


This seems to fix it:

http://andy.jgknet.de/blog/ide-tools/ide-fix-pack/

"Disable IDE Package and Palette Cache"



来源:https://stackoverflow.com/questions/25405185/delphi-xe6-error-reading-form

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!