Ver código fonte

updated defines to build in vs2010

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@475 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 16 anos atrás
pai
commit
2dcc81fc5c
4 arquivos alterados com 8 adições e 6 exclusões
  1. 2 2
      Addins/DittoUtil/stdafx.h
  2. 2 0
      EncryptDecrypt/StdAfx.h
  3. 1 1
      StdAfx.h
  4. 3 3
      U3Stop/stdafx.h

+ 2 - 2
Addins/DittoUtil/stdafx.h

@@ -11,11 +11,11 @@
 // 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				// Allow use of features specific to Windows 95 and Windows NT 4 or later.
-#define WINVER 0x0400		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
+#define WINVER 0x0500		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
 #endif
 
 #ifndef _WIN32_WINNT		// Allow use of features specific to Windows NT 4 or later.
-#define _WIN32_WINNT 0x0400	// Change this to the appropriate value to target Windows 2000 or later.
+#define _WIN32_WINNT 0x0500	// Change this to the appropriate value to target Windows 2000 or later.
 #endif						
 
 #ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.

+ 2 - 0
EncryptDecrypt/StdAfx.h

@@ -12,6 +12,8 @@
 
 #define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers
 
+#define _WIN32_WINNT 0x0500
+
 #include <afx.h>
 #include <afxwin.h>
 

+ 1 - 1
StdAfx.h

@@ -16,7 +16,7 @@
 #define _CRT_SECURE_NO_DEPRECATE 1
 #define _CRT_NON_CONFORMING_SWPRINTFS 1
 
-#define HITTEST_RET UINT
+#define HITTEST_RET LRESULT
 
 #define _WIN32_WINNT 0x0500
 #define WINVER 0x0500

+ 3 - 3
U3Stop/stdafx.h

@@ -11,15 +11,15 @@
 // 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				// Allow use of features specific to Windows 95 and Windows NT 4 or later.
-#define WINVER 0x0400		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
+#define WINVER 0x0500		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
 #endif
 
 #ifndef _WIN32_WINNT		// Allow use of features specific to Windows NT 4 or later.
-#define _WIN32_WINNT 0x0400		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
+#define _WIN32_WINNT 0x0500		// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
 #endif						
 
 #ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
-#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
+#define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later.
 #endif
 
 #ifndef _WIN32_IE			// Allow use of features specific to IE 4.0 or later.