介面库 是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差不多,我还没怎么弄
最后,很多文件包含头文件的路径都要处理最后编译终于通过了