Click here to Skip to main content
12,622,032 members (36,211 online)
Click here to Skip to main content

Stats

60.5K views
915 downloads
20 bookmarked
Posted

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.
//{{NO_DEPENDENCIES}}
// 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
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        106
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1013
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

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.

License

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

Share

About the Author

JOHN11
Web Developer
France France
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 24 Aug 2004
Article Copyright 2004 by JOHN11
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid