mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-30 18:24:36 +01:00
Fixed #256
This commit is contained in:
parent
e167cfdc91
commit
e1570c84e9
@ -51,8 +51,8 @@ END
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 22000,282,32,3
|
FILEVERSION 22000,282,32,4
|
||||||
PRODUCTVERSION 22000,282,32,3
|
PRODUCTVERSION 22000,282,32,4
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
@ -69,12 +69,12 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "VALINET Solutions SRL"
|
VALUE "CompanyName", "VALINET Solutions SRL"
|
||||||
VALUE "FileDescription", "ExplorerPatcher"
|
VALUE "FileDescription", "ExplorerPatcher"
|
||||||
VALUE "FileVersion", "22000.282.32.3"
|
VALUE "FileVersion", "22000.282.32.4"
|
||||||
VALUE "InternalName", "ExplorerPatcher.dll"
|
VALUE "InternalName", "ExplorerPatcher.dll"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2006-2021 VALINET Solutions SRL. All rights reserved."
|
VALUE "LegalCopyright", "Copyright (C) 2006-2021 VALINET Solutions SRL. All rights reserved."
|
||||||
VALUE "OriginalFilename", "ExplorerPatcher.dll"
|
VALUE "OriginalFilename", "ExplorerPatcher.dll"
|
||||||
VALUE "ProductName", "ExplorerPatcher"
|
VALUE "ProductName", "ExplorerPatcher"
|
||||||
VALUE "ProductVersion", "22000.282.32.3"
|
VALUE "ProductVersion", "22000.282.32.4"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
#include <valinet/pdb/pdb.h>
|
#include <valinet/pdb/pdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(DEBUG) | defined(_DEBUG)
|
||||||
#define _LIBVALINET_DEBUG_HOOKING_IATPATCH
|
#define _LIBVALINET_DEBUG_HOOKING_IATPATCH
|
||||||
|
#endif
|
||||||
#include <valinet/hooking/iatpatch.h>
|
#include <valinet/hooking/iatpatch.h>
|
||||||
|
|
||||||
#define EP_CLSID "{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}"
|
#define EP_CLSID "{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}"
|
||||||
@ -2790,20 +2792,23 @@ void WINAPI LoadSettings(BOOL bIsExplorer)
|
|||||||
&bSkinMenus,
|
&bSkinMenus,
|
||||||
&dwSize
|
&dwSize
|
||||||
);
|
);
|
||||||
if (bAllocConsole)
|
if (bIsExplorerProcess)
|
||||||
{
|
{
|
||||||
FILE* conout;
|
if (bAllocConsole)
|
||||||
AllocConsole();
|
{
|
||||||
freopen_s(
|
FILE* conout;
|
||||||
&conout,
|
AllocConsole();
|
||||||
"CONOUT$",
|
freopen_s(
|
||||||
"w",
|
&conout,
|
||||||
stdout
|
"CONOUT$",
|
||||||
);
|
"w",
|
||||||
}
|
stdout
|
||||||
else
|
);
|
||||||
{
|
}
|
||||||
FreeConsole();
|
else
|
||||||
|
{
|
||||||
|
FreeConsole();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!bIsExplorer)
|
if (!bIsExplorer)
|
||||||
{
|
{
|
||||||
@ -3950,7 +3955,7 @@ __declspec(dllexport) DWORD WINAPI main(
|
|||||||
_In_ LPVOID bIsExplorer
|
_In_ LPVOID bIsExplorer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#if defined(DEBUG) | defined(_DEBUG)
|
||||||
FILE* conout;
|
FILE* conout;
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen_s(
|
freopen_s(
|
||||||
|
Loading…
Reference in New Issue
Block a user