简体   繁体   中英

Delphi XE6 “Error reading form”

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?

This seems to fix it:

https://www.idefixpack.de/blog/ide-tools/ide-fix-pack/

"Disable IDE Package and Palette Cache"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM