Click here to Skip to main content
13,256,415 members (49,347 online)
Click here to Skip to main content


20 bookmarked
Posted 23 Aug 2004

Very secure method to save and restore registry

, 23 Aug 2004
This article gives a very secure method to save and restore registry keys. It provides a ready to use tool in both command-line and UI modes.
// Microsoft Developer Studio generated include file.
// Used by RegSR.rc
#define IDS_HELLO                       1
#define IDS_USAGE                       1
#define IDS_EXAMPLE                     2
#define IDS_COPYRIGHT                   3
#define IDI_ICON1                       101
#define IDD_DIALOG1                     102
#define IDR_MAINFRAME                   105
#define IDC_EDIT_CONF_FILE              1000
#define IDC_COMBO_ROOT                  1001
#define IDC_EDIT_KEY_PATH               1002
#define IDC_IN_OUT_FILE                 1003
#define IDC_BUTTON_BROWSE_FILE          1004
#define IDC_BUTTON_SAVE                 1005
#define IDC_BUTTON_RESTORE              1006
#define IDC_BUTTON_BROWSE_FILE1         1007
#define IDC_EDIT_RESULT                 1008
#define IDC_BUTTON_GET_ERR_DESC         1009
#define IDC_COMBO_CONF_FILE             1010
#define IDC_COMBO_KEY_PATH              1011
#define IDC_COMBO_IN_OUT_FILE           1012

// Next default values for new objects
#define _APS_NEXT_RESOURCE_VALUE        106
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1013
#define _APS_NEXT_SYMED_VALUE           101

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
France France
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 24 Aug 2004
Article Copyright 2004 by JOHN11
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid