diff options
Diffstat (limited to 'PE/reinsert.cpp')
-rw-r--r-- | PE/reinsert.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PE/reinsert.cpp b/PE/reinsert.cpp index 0e63d2d..3a8244b 100644 --- a/PE/reinsert.cpp +++ b/PE/reinsert.cpp @@ -4,9 +4,28 @@ #include <Main.h> #include "cdutils.h" +#include "reinsert-res.h" + #define index 0x838da #define offset 0x83b78 +
+BOOL CALLBACK AboutDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam)
+{
+ switch(uMsg)
+ {
+ case WM_COMMAND:
+ {
+ switch(LOWORD(wParam))
+ {
+ case IDCANCEL: EndDialog(hW,FALSE);return TRUE;
+ case IDOK: EndDialog(hW,FALSE);return TRUE;
+ }
+ }
+ }
+ return FALSE;
+}
+
CODE_BEGINS virtual int startup() throw (GeneralException) { @@ -14,6 +33,8 @@ virtual int startup() throw (GeneralException) { Handle * iw; cdutils * cd; + DialogBox(0, MAKEINTRESOURCE(IDD_ABOUT), GetActiveWindow(), AboutDlgProc); + verbosity = M_INFO; ir = new Input("PE1.bin"); |