From 1343bd3d4406db4f26dd13c213ee19be550a6373 Mon Sep 17 00:00:00 2001 From: justanotheranonymoususer Date: Fri, 5 Jun 2015 18:14:00 +0300 Subject: [PATCH] Cleaned up solution properties, added x64 build --- recaps.cpp | 4 +- recaps.sln | 6 +++ recaps.vcxproj | 128 ++++++++++++++++++++++++++++++++++++------------- 3 files changed, 103 insertions(+), 35 deletions(-) diff --git a/recaps.cpp b/recaps.cpp index 84a2ab3..4ba422c 100644 --- a/recaps.cpp +++ b/recaps.cpp @@ -393,10 +393,10 @@ void SaveConfiguration(const KeyboardLayoutInfo* info) const WCHAR *pLocaleName; pLocaleName = info->names[info->main]; - RegSetValueEx(hkey, L"main", 0, REG_SZ, (const BYTE *)(pLocaleName), (wcslen(pLocaleName) + 1) * sizeof(WCHAR)); + RegSetValueEx(hkey, L"main", 0, REG_SZ, (const BYTE *)(pLocaleName), (DWORD)((wcslen(pLocaleName) + 1) * sizeof(WCHAR))); pLocaleName = info->names[info->paired]; - RegSetValueEx(hkey, L"paired", 0, REG_SZ, (const BYTE *)(pLocaleName), (wcslen(pLocaleName) + 1) * sizeof(WCHAR)); + RegSetValueEx(hkey, L"paired", 0, REG_SZ, (const BYTE *)(pLocaleName), (DWORD)((wcslen(pLocaleName) + 1) * sizeof(WCHAR))); RegCloseKey(hkey); } diff --git a/recaps.sln b/recaps.sln index c74cda0..e849fce 100644 --- a/recaps.sln +++ b/recaps.sln @@ -7,13 +7,19 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A6546042-77AD-46B0-B4B4-63641E29810E}.Debug|Win32.ActiveCfg = Debug|Win32 {A6546042-77AD-46B0-B4B4-63641E29810E}.Debug|Win32.Build.0 = Debug|Win32 + {A6546042-77AD-46B0-B4B4-63641E29810E}.Debug|x64.ActiveCfg = Debug|x64 + {A6546042-77AD-46B0-B4B4-63641E29810E}.Debug|x64.Build.0 = Debug|x64 {A6546042-77AD-46B0-B4B4-63641E29810E}.Release|Win32.ActiveCfg = Release|Win32 {A6546042-77AD-46B0-B4B4-63641E29810E}.Release|Win32.Build.0 = Release|Win32 + {A6546042-77AD-46B0-B4B4-63641E29810E}.Release|x64.ActiveCfg = Release|x64 + {A6546042-77AD-46B0-B4B4-63641E29810E}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/recaps.vcxproj b/recaps.vcxproj index a3e9f56..f2706cb 100644 --- a/recaps.vcxproj +++ b/recaps.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {A6546042-77AD-46B0-B4B4-63641E29810E} @@ -22,55 +30,62 @@ false Unicode + + Application + v120 + false + Unicode + Application v120 false Unicode + + Application + v120 + false + Unicode + + + + + + + <_ProjectFileVersion>12.0.30501.0 - - .\Release\ - .\Release\ - - - .\Debug\ - .\Debug\ - + + + + MaxSpeed - OnlyExplicitInline WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) true MultiThreaded true Use stdafx.h - .\Release/recaps.pch - .\Release/ - .\Release/ - .\Release/ Level4 true Shlwapi.lib;%(AdditionalDependencies) - .\Release/recaps.exe true - .\Release/recaps.pdb Windows MachineX86 @@ -79,12 +94,40 @@ true true Win32 - .\Release/recaps.tlb + $(IntDir)/recaps.tlb NDEBUG;%(PreprocessorDefinitions) - 0x040d + + + + + MaxSpeed + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + MultiThreaded + true + Use + stdafx.h + Level4 + true + + + Shlwapi.lib;%(AdditionalDependencies) + true + Windows + + + NDEBUG;%(PreprocessorDefinitions) + true + true + $(IntDir)/recaps.tlb + + + + + NDEBUG;%(PreprocessorDefinitions) @@ -95,49 +138,68 @@ MultiThreadedDebug Use stdafx.h - .\Debug/recaps.pch - .\Debug/ - .\Debug/ - .\Debug/ Level4 true EditAndContinue Shlwapi.lib;%(AdditionalDependencies) - .\Debug/recaps.exe true true - .\Debug/recaps.pdb Windows MachineX86 + false _DEBUG;%(PreprocessorDefinitions) true true Win32 - .\Debug/recaps.tlb + $(IntDir)/recaps.tlb _DEBUG;%(PreprocessorDefinitions) - 0x040d + + + + + Disabled + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + Use + stdafx.h + Level4 + true + ProgramDatabase + + + Shlwapi.lib;%(AdditionalDependencies) + true + true + Windows + + + _DEBUG;%(PreprocessorDefinitions) + true + true + $(IntDir)/recaps.tlb + + + + + _DEBUG;%(PreprocessorDefinitions) - - Disabled - EnableFastChecks - MaxSpeed - + - Disabled - EnableFastChecks Create - MaxSpeed + Create Create + Create