From 0dc4754c635ddc745bc0675f96672df60b25df6e Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 20 Aug 2023 09:57:38 +0200 Subject: Windows: delay load bcrypt.dll to reduce startup dependency loading until setting safe dll loading --- src/ExpandVolume/ExpandVolume.vcxproj | 16 ++++++++-------- src/ExpandVolume/ExpandVolume_vs2019.vcxproj | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'src/ExpandVolume') diff --git a/src/ExpandVolume/ExpandVolume.vcxproj b/src/ExpandVolume/ExpandVolume.vcxproj index ce87f4fb..257877db 100644 --- a/src/ExpandVolume/ExpandVolume.vcxproj +++ b/src/ExpandVolume/ExpandVolume.vcxproj @@ -194,7 +194,7 @@ ..\Crypto\Debug\crypto.lib;..\Common\Debug\Zip.lib;..\Common\Debug\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true $(OutDir)ExpandVolume.pdb Windows @@ -248,7 +248,7 @@ copy Debug\VeraCryptExpander.exe "..\Debug\Setup Files" >NUL: ..\Crypto\x64\Debug\crypto.lib;..\Common\x64\Debug\Zip.lib;..\Common\x64\Debug\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true $(OutDir)ExpandVolume.pdb Windows @@ -295,7 +295,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;..\Common\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -339,7 +339,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;..\Common\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -383,7 +383,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;..\Common\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -431,7 +431,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;..\Common\x64\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -479,7 +479,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;..\Common\x64\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -527,7 +527,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;..\Common\x64\Release\lzma.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows diff --git a/src/ExpandVolume/ExpandVolume_vs2019.vcxproj b/src/ExpandVolume/ExpandVolume_vs2019.vcxproj index 555c6d8f..ddcfc106 100644 --- a/src/ExpandVolume/ExpandVolume_vs2019.vcxproj +++ b/src/ExpandVolume/ExpandVolume_vs2019.vcxproj @@ -214,7 +214,7 @@ ..\Crypto\Debug\crypto.lib;..\Common\Debug\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true $(OutDir)ExpandVolume.pdb Windows @@ -268,7 +268,7 @@ copy Debug\VeraCryptExpander.exe "..\Debug\Setup Files" >NUL: ..\Crypto\x64\Debug\crypto.lib;..\Common\x64\Debug\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true $(OutDir)ExpandVolume.pdb Windows @@ -324,7 +324,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: ..\Crypto\ARM64\Debug\crypto.lib;..\Common\ARM64\Debug\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true $(OutDir)ExpandVolume.pdb Windows @@ -369,7 +369,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -413,7 +413,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -461,7 +461,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -508,7 +508,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\ARM64\Release\crypto.lib;..\Common\ARM64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -555,7 +555,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows @@ -602,7 +602,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: ..\Crypto\AMD64\Release\crypto.lib;..\Common\AMD64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) $(OutDir)VeraCryptExpander.exe false - mpr.dll;%(DelayLoadDLLs) + mpr.dll;bcrypt.dll;%(DelayLoadDLLs) true true Windows -- cgit v1.2.3