编译BCGControlBarPro

来源:互联网 发布:mac连不上app store 编辑:程序博客网 时间:2024/05/17 13:07

第1步.直接在“解决方案资源管理器”-“资源文件”中点右键,“添加”-“现有项”,把C:/ProgramFiles/BCGSoft/BCGControlBarPro/BCGCBPro/Styles中所有扩展名为.rc 的资源包括进来即可。

第2步.打开项目的rc文件,在最后面有一段#include,

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE 9, 1
#pragma code_page(936)
#include "res/RibbonDemo.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#include "afxprint.rc"       // printing/print preview resources
#include "BCGCBPro.rc"       // BCGControlBarPro resources/r/n [新加内容]
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED