GuiToolkit 1.1.5编译的一点说明

GuiToolkit 1.1.5 is a class set which allow You to build applications with new Microsoft interface style .It includes more than 50 of MFC classesThe main objective is to have a free set of classes that can be used and actualized without any restrictions.
号称Forever Free的代码,最近要使用一个可以停靠的outlookbar,放弃了一些只是换肤的控件,于是找上了它,虽然最后更新是2004年,但一点都不影响它的强大


开始编译:
visualstylesxp.h(6) : fatal error C1083: Cannot open include file: 'uxtheme.h': No such file or directory
提示Uxtheme.h 和Tmschema.h找不到,而Schemadef.h是在Tmschema.h里调用的,所以我们还需要另外三个文件,这在VC6里面没有,包含在Windows PlatformSDK安转了Visual Studio 2003或 Visual Studio 2005 中都有PlatformSDK。你若安装过,就不必费尽去下载385.0 MB的SDK了,默认安装的话三个文件都在
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include
(Uxtheme.h 中定义了在向控件添加外观风格的步骤中以及在相应的代码示例中所引用的 UxTheme API;Tmschema.h 中定义了各个类。听说要将WINVER,_WIN32_WINNT, _WIN32_WINDOWS定义为0x0501(支持XP)才能编译通过。)

已打包上来,可以在此点击下载。https://files.cnblogs.com/xcvm/Uxtheme.h.rar

Windows® Server 2003 SP1 Platform SDK下载地址:
Windows® Server 2003 SP1 Platform SDK ISO Install
(单个镜像文件)
http://download.microsoft.com/download/7/5/e/75ec7f04-4c8c-4f38-b582-966e76602643/5.2.3790.1830.15.PlatformSDK_Svr2003SP1_rtm.img

Windows® Server 2003 SP1 Platform SDK Full Download
(多个压缩包)
http://www.microsoft.com/downloads/details.aspx?FamilyID=eba0128f-a770-45f1-86f3-7ab010b398a3&DisplayLang=en#filelist
File Name: File Size

PSDK-FULL.1.cab

25.0 MB

PSDK-FULL.10.cab

25.0 MB

PSDK-FULL.11.cab

25.0 MB

PSDK-FULL.12.cab

25.0 MB

PSDK-FULL.13.cab

25.0 MB

PSDK-FULL.14.cab

25.0 MB

PSDK-FULL.15.cab

25.0 MB

PSDK-FULL.16.cab

9.8 MB

PSDK-FULL.2.cab

25.0 MB

PSDK-FULL.3.cab

25.0 MB

PSDK-FULL.4.cab

25.0 MB

PSDK-FULL.5.cab

25.0 MB

PSDK-FULL.6.cab

25.0 MB

PSDK-FULL.7.cab

25.0 MB

PSDK-FULL.8.cab

25.0 MB

PSDK-FULL.9.cab

25.0 MB

PSDK-FULL.exe

94 KB

Windows® Server 2003 SP1 Platform SDK Web Install
(网络安装)

PSDK-amd64.exe

1.3 MB

PSDK-ia64.exe

1.4 MB

PSDK-x86.exe

1.3 MB


复制三个文件到 GuiLib 目录下,把
#include <uxtheme.h>
#include <tmschema.h>
改为
#include "uxtheme.h"
#include "tmschema.h"
就可以正常编译了
posted @ 2006-03-08 22:20  xCvM  阅读(8058)  评论(14编辑  收藏  举报