我在CODEPROJECT上下载了一个MDIExSample程序,用的是WTL,我已经下载了WTL80,编译的时候报错,一共两个:
--------------------Configuration: MDIExSample - Win32 Debug--------------------
Compiling resources...
Compiling...
stdafx.cpp
to save private data in xml file instead of regestry uncoment this
to add/remove auto-hiding features just add/remove #include <DWAutoHide.h>
f:\program\c c++\编程练习\wtldockingwindows_demo\include\dockingwindow.h(515) : error C2664: 'SetTimer' : cannot convert parameter 4 from 'void (struct HWND__ *,unsigned int,unsigned long,unsigned long)' to 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,unsigned long)'
None of the functions with this name in scope match the target typef:\program\c c++\编程练习\wtldockingwindows_demo\mdiexsample\stdafx.cpp(8) : error C2856: #pragma hdrstop cannot be inside an #if blockError executing cl.exe.MDIExSample.exe - 2 error(s), 0 warning(s)我才开始看WTL的资料,但是没有那么多时间去慢慢找问题,要做毕业设计,希望有大家伸出援手帮我解决一下!
谢谢大家!!!
--------------------Configuration: MDIExSample - Win32 Debug--------------------
Compiling resources...
Compiling...
stdafx.cpp
to save private data in xml file instead of regestry uncoment this
to add/remove auto-hiding features just add/remove #include <DWAutoHide.h>
f:\program\c c++\编程练习\wtldockingwindows_demo\include\dockingwindow.h(515) : error C2664: 'SetTimer' : cannot convert parameter 4 from 'void (struct HWND__ *,unsigned int,unsigned long,unsigned long)' to 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,unsigned long)'
None of the functions with this name in scope match the target typef:\program\c c++\编程练习\wtldockingwindows_demo\mdiexsample\stdafx.cpp(8) : error C2856: #pragma hdrstop cannot be inside an #if blockError executing cl.exe.MDIExSample.exe - 2 error(s), 0 warning(s)我才开始看WTL的资料,但是没有那么多时间去慢慢找问题,要做毕业设计,希望有大家伸出援手帮我解决一下!
谢谢大家!!!
解决方案 »
- 当我的软件用skinmagic做完界面之后,安装的时候出现了问题
- 关于重画线条的问题
- VC6.0 下的MFC编程,如何获得系统的日期和时间?
- MFC中各头文件的这段代码是什么意思
- 求助 急!!!用 怎么将CPicture类有头文件及源文件加入到我的工程中
- 编译好的程序不能运行
- 帮忙解释以下,关于CDatabase::OpenEx的第二个参数
- VC中如何使用用c编的DLL?在设置工程是都要做些什么?
- Visual studio.net 哪里有的下载
- 一个关于计时器的弱问题!
- 求助!!#pragma hdrstop cannot be inside an #if block
- 初学者的疑惑(2005)
第二个问题,直接将#pragma hdrstop注释掉即可