按照网上的提示 将7.1中的setup.js拷贝下来 放到WTL8.0解压后的文件夹,双击运行完成,生成Winzard。利用向导创建 Dialog Based 运行后报错。
c:\wtl80\include\atlapp.h(1702) : error C2065: 'REG_QWORD' : undeclared identifier
c:\wtl80\include\atlapp.h(1816) : warning C4018: '!=' : signed/unsigned mismatch
d:\vc601\stdafx.cpp(8) : error C2856: #pragma hdrstop cannot be inside an #if block请问如何解决??
c:\wtl80\include\atlapp.h(1702) : error C2065: 'REG_QWORD' : undeclared identifier
c:\wtl80\include\atlapp.h(1816) : warning C4018: '!=' : signed/unsigned mismatch
d:\vc601\stdafx.cpp(8) : error C2856: #pragma hdrstop cannot be inside an #if block请问如何解决??
看看这里
我也是先解压的WTL8.0 然后注册setup9.0.js 然后又下载了WTL7.1 将其中的appwiz6.0拷贝wtl8。0中
运行成功后,再设置目录 编译 出现报错
很奇怪 是否是冲突了导致?
#ifndef _WIN32_WCE
LONG SetQWORDValue(LPCTSTR pszValueName, ULONGLONG qwValue)
{
ATLASSERT(m_hKey != NULL);
return ::RegSetValueEx(m_hKey, pszValueName, NULL, REG_QWORD, reinterpret_cast<const BYTE*>(&qwValue), sizeof(ULONGLONG));
}
#endif
Compiling resources...
Compiling...
stdafx.cpp
c:\wtl80\include\atlapp.h(1702) : error C2065: 'REG_QWORD' : undeclared identifier
c:\wtl80\include\atlapp.h(1816) : warning C4018: '!=' : signed/unsigned mismatch
d:\test01\stdafx.cpp(8) : error C2856: #pragma hdrstop cannot be inside an #if block
Error executing cl.exe.Test01.exe - 2 error(s), 1 warning(s)提示的是 WTL中的设置。