diff --git a/Pepper/CPepperDoc.cpp b/Pepper/CPepperDoc.cpp
index bd131eb..84e9a19 100644
--- a/Pepper/CPepperDoc.cpp
+++ b/Pepper/CPepperDoc.cpp
@@ -104,6 +104,7 @@ BOOL CPepperDoc::OnOpenDocument(LPCTSTR lpszPathName)
}
}
+ libPE.CloseFile();
m_stFileLoader.LoadFile(lpszPathName, this);
UpdateAllViews(nullptr);
diff --git a/Pepper/Pepper.vcxproj b/Pepper/Pepper.vcxproj
index 575dceb..49de6c3 100644
--- a/Pepper/Pepper.vcxproj
+++ b/Pepper/Pepper.vcxproj
@@ -171,6 +171,7 @@
+
@@ -213,6 +214,7 @@
+
diff --git a/Pepper/Pepper.vcxproj.filters b/Pepper/Pepper.vcxproj.filters
index 217911c..be2a47c 100644
--- a/Pepper/Pepper.vcxproj.filters
+++ b/Pepper/Pepper.vcxproj.filters
@@ -88,6 +88,9 @@
Header Files
+
+ HexCtrl
+
@@ -180,6 +183,9 @@
HexCtrl
+
+ HexCtrl
+
diff --git a/Pepper/Utility.ixx b/Pepper/Utility.ixx
index 1a8a20d..13cd98c 100644
--- a/Pepper/Utility.ixx
+++ b/Pepper/Utility.ixx
@@ -577,10 +577,10 @@ export namespace Util
{ 18, { sizeof(DWORD), 68, L"ManagedNativeHeader.Size" } }
};
- //All HexCtrl dialogs' IDs for hiding/showing in Views, when tab is disactivated/activated.
+ //All HexCtrl dialogs' IDs for hiding/showing in Views, when tab is deactivated/activated.
inline const std::vector g_vecHexDlgs {
- HEXCTRL::EHexWnd::DLG_BKMMANAGER, HEXCTRL::EHexWnd::DLG_DATAINTERP, HEXCTRL::EHexWnd::DLG_FILLDATA,
- HEXCTRL::EHexWnd::DLG_OPERS, HEXCTRL::EHexWnd::DLG_SEARCH, HEXCTRL::EHexWnd::DLG_ENCODING,
+ HEXCTRL::EHexWnd::DLG_BKMMANAGER, HEXCTRL::EHexWnd::DLG_DATAINTERP, HEXCTRL::EHexWnd::DLG_MODIFY,
+ HEXCTRL::EHexWnd::DLG_SEARCH, HEXCTRL::EHexWnd::DLG_ENCODING,
HEXCTRL::EHexWnd::DLG_GOTO, HEXCTRL::EHexWnd::DLG_TEMPLMGR };
diff --git a/Pepper/dep/HexCtrl b/Pepper/dep/HexCtrl
index 40683e8..c3555e9 160000
--- a/Pepper/dep/HexCtrl
+++ b/Pepper/dep/HexCtrl
@@ -1 +1 @@
-Subproject commit 40683e8f5fc94cdeb2868de0b0802d3bc3d80167
+Subproject commit c3555e9caf6a2003604abf0b3eb6ec418a410aed