从专业人员到超级专业人员的任何问题 - 1。 - 页 10

 
减少dll中的windup的版本?
 
TheXpert:
减少dll中的windup的版本?
我今晚在家里试试。但我必须把XP放在虚拟机中检查。我稍后会汇报。
 
那么,对其他的dll没有依赖性吗?
 
TheXpert:
因此,没有依赖其他的dlls?

 
我无法将VS2010配置为允许使用早期版本的Windows。我找不到这些项目 设置。:(
 
//
// Windows 2000 minimum
//
#ifndef WINVER
#define WINVER 0x0500
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif                                          
 

这样做了,还是一样的错误。

#pragma once
/*
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER                  // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0410   // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE               // Specifies that the minimum required platform is Internet Explorer 7.0.
#define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
#endif
//+------------------------------------------------------------------+
*/
#ifndef WINVER
#define WINVER 0x0500
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif  
 
妈的,我已经完成了,2010年我没有工作室。
 
很奇怪...如果是为XP做开发,为什么要用Win7?
 
jartmailru:
很奇怪...如果是为XP做开发,为什么要用Win7?
我打算在win7和XP上使用bibla。