diff options
author | pixel <pixel> | 2003-10-09 02:42:57 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-10-09 02:42:57 +0000 |
commit | 89cc07d85a624225b34e7c92ea41b268d6684cc9 (patch) | |
tree | 9ae4b43d7180f0033a768778a0d9f65df082bb21 /PE/reinsert.cpp | |
parent | 000f0a624a68f67a39fee42ba8f7bf913b1b357b (diff) |
On continue à jouer avec les ressources :-P
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"); |