金山界面库

介面库 是bkwin 

相关的资源处理库 是bkres 

处理xml使用了 tinyxml 

bkwin是基于WTL实现的,所以要加上wtl 和wtlhelper 

 

 

wtl和mfc貌似有冲突,所以工程不需要mfc支持

wtl基于atl,所以要添加atl支持

另外,我选择了不是要预编译头文件

以下为stdafx.h的内容,dlg源文件包含它

 

#pragma once
#pragma warning(disable: 4995)
#pragma warning(disable: 4996)
#pragma warning(disable: 4819)
#pragma warning(disable: 4018)
#pragma warning(disable: 4244)

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             //  从 Windows 头文件中排除极少使用的信息
// Windows 头文件:
#include <windows.h>

#include <Shlwapi.h>
#include <shellapi.h>

// C 运行时头文件
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#include <sstream>
#include <iostream>


#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // 某些 CString 构造函数将是显式的

#include <atlbase.h>
#include <atlstr.h>

#include <atlwin.h>
#include <atltrace.h>
#define _WTL_NO_CSTRING


#include <exdisp.h>
#include <exdispid.h>
#include <mshtml.h>
#include <mshtmdid.h>
#include <math.h>

#include "wtl/atlapp.h"
#include "wtl/atlframe.h"
#include "wtl/atlctrls.h"
#include "wtl/atlctrlx.h"
#include "wtl/atldlgs.h"
#include "wtl/atlcrack.h"
#include "wtl/atlmisc.h"

#include "tinyxml/tinyxml.h"
#include "tinyxml/tinystr.h"
#include "bkwin/bklistview.h"
#include "bkwin/bkdlgview.h"

#include "wtlhelper/whwindow.h"
#include "bkres/bkres.h"

 

 

xml用来配置

具体书写参考张晓晅发的使用说明

格式跟html差不多,我还没怎么弄

最后,很多文件包含头文件的路径都要处理

最后编译终于通过了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值