diff --git a/DDraw/DDraw.vcxproj b/DDraw/DDraw.vcxproj
index 8ad8860..eac0250 100644
--- a/DDraw/DDraw.vcxproj
+++ b/DDraw/DDraw.vcxproj
@@ -86,6 +86,7 @@
ddraw.def
Windows
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\ddraw.dll"
@@ -118,6 +119,7 @@ copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto Vice City\dd
true
ddraw.def
Windows
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\ddraw.dll"
@@ -151,6 +153,7 @@ copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto Vice City\dd
ddraw.def
Windows
false
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\ddraw.dll"
diff --git a/SilentPatch/debugmenu_public.h b/SilentPatch/debugmenu_public.h
index 0588ea6..b4071ca 100644
--- a/SilentPatch/debugmenu_public.h
+++ b/SilentPatch/debugmenu_public.h
@@ -71,6 +71,8 @@ inline void DebugMenuEntrySetAddress(DebugMenuEntry *e, void *addr)
#include
+#pragma comment(lib, "shlwapi.lib")
+
inline bool DebugMenuLoad(void)
{
if(gDebugMenuAPI.isLoaded)
diff --git a/SilentPatchIII/SilentPatchIII.vcxproj b/SilentPatchIII/SilentPatchIII.vcxproj
index c78e858..75552bb 100644
--- a/SilentPatchIII/SilentPatchIII.vcxproj
+++ b/SilentPatchIII/SilentPatchIII.vcxproj
@@ -132,7 +132,7 @@
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\SilentPatchIII.asi"
@@ -169,7 +169,7 @@
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\SilentPatchIII.asi"
@@ -206,7 +206,7 @@
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\SilentPatchIII.asi"
diff --git a/SilentPatchSA/FLACDecoderSA.cpp b/SilentPatchSA/FLACDecoderSA.cpp
index 09b2c39..c279961 100644
--- a/SilentPatchSA/FLACDecoderSA.cpp
+++ b/SilentPatchSA/FLACDecoderSA.cpp
@@ -3,6 +3,12 @@
#include
#include
+#ifdef _DEBUG
+#pragma comment(lib, "libFLAC_static_d.lib")
+#else
+#pragma comment(lib, "libFLAC_static.lib")
+#endif
+
FLAC__StreamDecoderReadStatus CAEFLACDecoder::read_cb(const FLAC__StreamDecoder* decoder, FLAC__byte buffer[], size_t* bytes, void* client_data)
{
UNREFERENCED_PARAMETER(decoder);
diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp
index df5455d..6afc7d4 100644
--- a/SilentPatchSA/SilentPatchSA.cpp
+++ b/SilentPatchSA/SilentPatchSA.cpp
@@ -2169,6 +2169,8 @@ static const double dRetailRadioNamePosY = 22.0;
static const double dRetailRadioNameSizeX = 0.6;
static const double dRetailRadioNameSizeY = 0.9;
+#pragma comment(lib, "shlwapi.lib")
+
BOOL InjectDelayedPatches_10()
{
if ( !IsAlreadyRunning() )
diff --git a/SilentPatchSA/SilentPatchSA.vcxproj b/SilentPatchSA/SilentPatchSA.vcxproj
index 12cc055..70588f0 100644
--- a/SilentPatchSA/SilentPatchSA.vcxproj
+++ b/SilentPatchSA/SilentPatchSA.vcxproj
@@ -91,7 +91,7 @@
true
Windows
- Shlwapi.lib;libFLAC_static_d.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;psapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\SilentPatchSA.asi"
@@ -131,7 +131,7 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio
true
true
Windows
- Shlwapi.lib;libFLAC_static.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;psapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\SilentPatchSA.asi"
@@ -171,7 +171,7 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio
true
true
Windows
- Shlwapi.lib;libFLAC_static.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;psapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\SilentPatchSA.asi"
diff --git a/SilentPatchVC/SilentPatchVC.vcxproj b/SilentPatchVC/SilentPatchVC.vcxproj
index e3a90c3..44cd95d 100644
--- a/SilentPatchVC/SilentPatchVC.vcxproj
+++ b/SilentPatchVC/SilentPatchVC.vcxproj
@@ -91,7 +91,7 @@
true
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto Vice City\SilentPatchVC.asi"
@@ -126,7 +126,7 @@
true
true
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto Vice City\SilentPatchVC.asi"
@@ -161,7 +161,7 @@
true
true
Windows
- Winmm.lib;Shlwapi.lib;%(AdditionalDependencies)
+ shell32.dll;shlwapi.dll;%(DelayLoadDLLs)
copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto Vice City\SilentPatchVC.asi"