问题
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