一、stdafx.h

#include <BCGCBProInc.h>


二、stdafx.cpp

#if _MSC_VER > 1500
#define COMPILE_MULTIMON_STUBS
#include "multimon.h"
#endif


三、在资源视图的对话框上点击右键,选择“资源包括(L)”

BCGControlBarPro界面库静态链接方法

BCGControlBarPro界面库静态链接方法


或者可以自己到*******.rc 文件代码视图中,自己手动修改

1).  只读符号指令添加

#include "bcgprores.h"


2). 编译时指令

注释或者去掉下面这句: 

#define _AFX_NO_SPLITTER_RESOURCES


3)、添加(除了BCGCBPro.rc必须添加,其他的根据需要添加):

#include "BCGCBPro.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2007Aqua.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2007Luna.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2007Obsidian.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2007Silver.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2010Black.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2010Blue.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyle2010White.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyleCarbon.rc"
#include "D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles\BCGPStyleScenic.rc"


四、资源附加包含目录

D:\BCGSoft\BCGControlBarPro\BCGCBPro\Styles

BCGControlBarPro界面库静态链接方法

相关文章:

  • 2021-08-30
  • 2021-10-04
  • 2022-02-11
  • 2021-12-02
  • 2021-06-01
  • 2021-08-05
猜你喜欢
  • 2021-09-18
  • 2021-08-20
  • 2021-10-10
  • 2021-09-11
  • 2021-11-20
  • 2021-07-06
  • 2021-11-18
相关资源
相似解决方案