一、下载popcapframework:
二、解压到G:/PopCap_Framework_v1.3
三、打开G:/PopCap_Framework_v1.3/osframework/source/SexyAppFramework/SexyAppBase VS2005.vcproj
四、修改EditWidget.cpp
(((unsigned int)theChar >= (unsigned int)(L’?)) && ((unsigned int)theChar <= (unsigned int)(L’’))) ||
(L’?) 改成(L’?’)
五、Debug – Incremental 改成Debug
六、下载http://resource.gameres.com/dx9csdk.rar 解压到G:/PopCap_Framework_v1.3/dx9csdk
七、Tools ->Options ->Projects and Solutions ->Include files 加入G:/PopCap_Framework_v1.3/dx9csdk/Include
Tools ->Options ->Projects and Solutions ->Library files 加入G:/PopCap_Framework_v1.3/dx9csdk/Lib/x86
八、编译,在G:/PopCap_Framework_v1.3/osframework/source/SexyAppFramework/Debug 目录下生成 SexyAppFramework.lib 改名成SexyAppFramework_D.lib
九、将Debug 模式改成Release 模式,重新编译得到Release 版的SexyAppFramework.lib
十、将SexyAppFramework.lib 和SexyAppFramework_D.lib 剪切到G:/PopCap_Framework_v1.3/osframework/source/SexyAppFramework
注意:Release 编译选项用 /MT,Debug 用 /MTD。引用此库的程序也必须依此设置。