Click here to Skip to main content
16,007,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Roger Allen11-Jan-04 23:54
Roger Allen11-Jan-04 23:54 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 0:07
Jijo.Raj12-Jan-04 0:07 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 0:13
JensB12-Jan-04 0:13 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 1:38
Jijo.Raj12-Jan-04 1:38 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 2:09
JensB12-Jan-04 2:09 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 2:13
Jijo.Raj12-Jan-04 2:13 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 4:47
JensB12-Jan-04 4:47 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 5:46
Jijo.Raj12-Jan-04 5:46 
I think there is no readymade function to copy the regkeys recursively. D'Oh! | :doh:

Using the RegEnumKey () or RegEnumKeyEx () function, we get all the subkeys under a specific key.

Then using this function you can recursively traverse the registry subtree. For that you should know the tree traversal algorithm. Then while reading each key, make an identical copy of it under the destination keytree.

Hope this helps you. The only problem is the tree traversal. It will be a little bit difficult. Dont worry. Im searching some more easier method for copying the registry and will inform you, when i get it. Big Grin | :-D

Regards,
Jijo. Wink | ;)



________________________________

Yesterday is history,
Tomorrow is a mystery,
But today is a present.
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Anonymous12-Jan-04 20:11
Anonymous12-Jan-04 20:11 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj13-Jan-04 2:26
Jijo.Raj13-Jan-04 2:26 
GeneralSpying on HTML Pin
Monty211-Jan-04 22:58
Monty211-Jan-04 22:58 
GeneralRe: Spying on HTML Pin
22491712-Jan-04 0:24
22491712-Jan-04 0:24 
GeneralSomething Like this Pin
Monty212-Jan-04 1:13
Monty212-Jan-04 1:13 
GeneralRe: Spying on HTML Pin
ohadp12-Jan-04 2:22
ohadp12-Jan-04 2:22 
GeneralRe: Spying on HTML Pin
Monty212-Jan-04 2:31
Monty212-Jan-04 2:31 
GeneralRemote Machine Processes Pin
Mahesh Varma11-Jan-04 22:34
Mahesh Varma11-Jan-04 22:34 
General_beginthread Pin
murali_utr11-Jan-04 22:32
murali_utr11-Jan-04 22:32 
GeneralRe: _beginthread Pin
Mahesh Varma11-Jan-04 22:54
Mahesh Varma11-Jan-04 22:54 
GeneralShow PropertyPage of an activeX control Pin
hajer11-Jan-04 22:31
hajer11-Jan-04 22:31 
GeneralRe: About the PostThreadMessage(...)??? Pin
Michael Dunn11-Jan-04 21:04
sitebuilderMichael Dunn11-Jan-04 21:04 
GeneralRe: About the PostThreadMessage(...)??? Pin
KarstenK12-Jan-04 4:25
mveKarstenK12-Jan-04 4:25 
GeneralListBox in ComboBox Pin
Tonnystar11-Jan-04 20:51
Tonnystar11-Jan-04 20:51 
GeneralRe: ListBox in ComboBox Pin
Jijo.Raj11-Jan-04 21:05
Jijo.Raj11-Jan-04 21:05 
GeneralRe: ListBox in ComboBox Pin
22491711-Jan-04 21:53
22491711-Jan-04 21:53 
GeneralRe: ListBox in ComboBox Pin
Tonnystar19-Jan-04 4:48
Tonnystar19-Jan-04 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.