From 0d23312886b7787eb4b7de2d788b7de4d021e139 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 22 May 2015 18:19:13 +0200 Subject: Windows: Modifications to build 64-bit versions of VeraCrypt.exe & "VeraCrypt Format.exe". --- src/Mount/Mount.c | 2 +- src/Mount/Mount.vcproj | 274 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 271 insertions(+), 5 deletions(-) (limited to 'src/Mount') diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index a5849de8..0070916d 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -8115,7 +8115,7 @@ BOOL MountFavoriteVolumes (BOOL systemFavorites, BOOL logOnMount, BOOL hotKeyMou mountOptions.ProtectedHidVolPkcs5Prf = DefaultVolumePkcs5; else mountOptions.ProtectedHidVolPkcs5Prf = CmdVolumePkcs5; - if (DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_MOUNT_OPTIONS), MainDlg, MountOptionsDlgProc, (LPARAM) &mountOptions) == IDCANCEL) + if (DialogBoxParamW (hInst, MAKEINTRESOURCEW (IDD_MOUNT_OPTIONS), MainDlg, (DLGPROC) MountOptionsDlgProc, (LPARAM) &mountOptions) == IDCANCEL) { status = FALSE; goto skipMount; diff --git a/src/Mount/Mount.vcproj b/src/Mount/Mount.vcproj index cb0be04e..2f630f56 100644 --- a/src/Mount/Mount.vcproj +++ b/src/Mount/Mount.vcproj @@ -12,6 +12,9 @@ + @@ -197,6 +200,189 @@ CommandLine="copy Release\VeraCrypt.exe "..\Release\Setup Files"" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -241,6 +427,22 @@ CompileAs="2" /> + + + + + + + + + + + + + + + + + + + + + + + + - - @@ -605,6 +851,10 @@ RelativePath="..\Boot\Windows\Release_Serpent\BootLoader.com.gz" > + + @@ -656,6 +906,22 @@ Name="VCResourceCompilerTool" /> + + + + + +