Delphi 2009 - 未重新创建 res 文件
我刚刚创建了一个带有工具栏、一些工具栏按钮和 TPngImageList 的小应用程序。 我已经保存了该项目并编译了它。
现在我已经删除了项目文件夹中的 .res 文件。 当我现在在 IDE 中打开项目时,delphi 提示“找不到 Res 文件。新建”。 但之后,我在项目文件夹中找不到新创建的 res 文件。 (换句话说:它不存在!) 为什么? 谢谢!
I'Ve just created a small application with a toolbar, some toolbar buttons and an TPngImageList.
I have saved the project and compiled it.
Now I've deleted the .res file in the project folder.
When I now open the project in the IDE, delphi says "Res file could not be found. New created".
But after that, I can't find the new created res file in my project folder. (In other words: it isn't there!)
Why?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚创建了一个新项目 Project1.dpr,并将其保存在一个新的空目录中。然后我删除了 Project1.res,并打开了该项目。 Delphi 2009 说
,当我保存项目时,Project1.res 文件被重新创建。如果我关闭项目而不保存,则不会创建 Project1.res 文件。
I just created a new project, Project1.dpr, and saved it in a new, empty, directory. Then I removed Project1.res, and opened the project. Delphi 2009 said
and when I then saved the project, the Project1.res file was recreated. If I close the project without saving, no Project1.res file is created.
检查 .dproj 文件并更改
为
(如果存在)。
Check the .dproj file and change
to
if it is present.