将前端从Project1复制到Project2 [英] Copying Front-end from Project1 to Project2

查看:68
本文介绍了将前端从Project1复制到Project2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于许多错误,我无法编译它,因此我已经创建了Project1.所以我打算创建与Project2相同的项目.我无法将前端从project1复制到project2.是否可以将前端从Project1复制到Project2.如果可能,需要复制哪些文件.
谢谢!

I''ve already created Project1, due to many errors i''m unable to compile it. So i''m planning to create same project As Project2. I''m unable to copy front-end from project1 to project2. Is It Possible to Copy Front-end from Project1 to Project2. If possible which files are needed to be copied..??
Thank you!!

推荐答案

是的.但是您必须注意这一点.

打开资源文件(.Rc和resouce.h),然后找到要复制的相关对话框/UI.
复制该特定对话框的对话框模板,然后将其粘贴到新的.Rc文件中.
接下来的步骤是将所需的ID从resource.h文件复制到新创建的resource.h文件中.

问题是您在复制时必须谨慎.缺少单个ID/资源也不会编译您的新项目.确保有新的项目文件.
Yes, it is. But you''ve to careful about this.

Open the resource files (.Rc and resouce.h), and find the relevant dialog/UI you wanna to copy.
Copy the dialog template of that specific dialog and paste it into your new .Rc file.
Then next step is to copy the required ID from resource.h file to your newly created resource.h file.

The thing is you''ve to be cautious while copying. Missing a single ID/resource will not compile your new project as well. Be sure have a back of you new project files.


这篇关于将前端从Project1复制到Project2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆