 +      <Name>
 +      </Name>
 +    </Lib>
-+    <PostBuildEvent>
-+      <Message>copy library to lib directory</Message>
-+      <Command>if not exist ..\..\..\lib md ..\..\..\lib
-+copy "$(TargetPath)" ..\..\..\lib
-+</Command>
-+    </PostBuildEvent>
-+  </ItemDefinitionGroup>
+   </ItemDefinitionGroup>
    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">
      <CustomBuildStep>
-       <Message>
-@@ -283,6 +512,45 @@ copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
- </Command>
-     </PostBuildEvent>
-   </ItemDefinitionGroup>
+@@ -281,13 +456,38 @@ copy "$(TargetPath)" ..\..\..\lib
+       <OptimizeReferences>true</OptimizeReferences>
+       <EnableCOMDATFolding>true</EnableCOMDATFolding>
+     </Link>
+-    <PostBuildEvent>
+-      <Message>copy library to lib directory</Message>
+-      <Command>if not exist ..\..\..\lib md ..\..\..\lib
+-copy "$(TargetPath)" ..\..\..\lib
+-copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
+-</Command>
+-    </PostBuildEvent>
++  </ItemDefinitionGroup>
 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|x64'">
 +    <CustomBuildStep>
 +      <Message>

+      <Name>
+      </Name>
+    </Lib>
+    <PostBuildEvent>
+      <Message>copy library to lib directory</Message>
+      <Command>if not exist ..\..\..\lib md ..\..\..\lib
+copy "$(TargetPath)" ..\..\..\lib
+</Command>
+    </PostBuildEvent>
+  </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">
     <CustomBuildStep>
       <Message>
@@ -244,6 +440,39 @@ copy "$(TargetPath)" ..\..\..\lib
 </Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|x64'">
+    <CustomBuildStep>
+      <Message>

+      <AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
   </ItemDefinitionGroup>
   <ItemGroup>
     <ClCompile Include="..\..\ccmain\adaptions.cpp" />
diff --git a/vs2010/tesseract.sln b/vs2010/tesseract.sln
index 32962b9..378e221 100644
--- a/vs2010/tesseract.sln
+++ b/vs2010/tesseract.sln
@@ -1,46 +1,70 @@
 ﻿
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual C++ Express 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract304", "libtesseract\libtesseract.vcxproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tesseract", "tesseract\tesseract.vcxproj", "{C76996CB-C4CB-4D89-9F67-F605DF129618}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		DLL_Debug|Win32 = DLL_Debug|Win32
-		DLL_Release|Win32 = DLL_Release|Win32
-		LIB_Debug|Win32 = LIB_Debug|Win32
-		LIB_OpenCL_Debug|Win32 = LIB_OpenCL_Debug|Win32
-		LIB_OpenCL_Release|Win32 = LIB_OpenCL_Release|Win32
-		LIB_Release|Win32 = LIB_Release|Win32
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
-		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
-		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C++ Express 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract304", "libtesseract\libtesseract.vcxproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tesseract", "tesseract\tesseract.vcxproj", "{C76996CB-C4CB-4D89-9F67-F605DF129618}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		DLL_Debug|Win32 = DLL_Debug|Win32
+		DLL_Debug|x64 = DLL_Debug|x64
+		DLL_Release|Win32 = DLL_Release|Win32
+		DLL_Release|x64 = DLL_Release|x64
+		LIB_Debug|Win32 = LIB_Debug|Win32
+		LIB_Debug|x64 = LIB_Debug|x64
+		LIB_OpenCL_Debug|Win32 = LIB_OpenCL_Debug|Win32
+		LIB_OpenCL_Debug|x64 = LIB_OpenCL_Debug|x64
+		LIB_OpenCL_Release|Win32 = LIB_OpenCL_Release|Win32
+		LIB_OpenCL_Release|x64 = LIB_OpenCL_Release|x64
+		LIB_Release|Win32 = LIB_Release|Win32
+		LIB_Release|x64 = LIB_Release|x64
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|x64.ActiveCfg = DLL_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|x64.Build.0 = DLL_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|x64.ActiveCfg = DLL_Release|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|x64.Build.0 = DLL_Release|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|x64.ActiveCfg = LIB_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|x64.Build.0 = LIB_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|x64.ActiveCfg = LIB_OpenCL_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|x64.Build.0 = LIB_OpenCL_Debug|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|x64.ActiveCfg = LIB_OpenCL_Release|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|x64.Build.0 = LIB_OpenCL_Release|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|x64.ActiveCfg = LIB_Release|x64
+		{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|x64.Build.0 = LIB_Release|x64
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|x64.ActiveCfg = DLL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|x64.ActiveCfg = DLL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|x64.ActiveCfg = LIB_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|x64.ActiveCfg = LIB_OpenCL_Debug|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|x64.ActiveCfg = LIB_OpenCL_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
+		{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|x64.ActiveCfg = LIB_Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal
