RegEdit

  • Thread starter Thread starter Guest
  • Start date Start date
German said:
How Can I recover data from REgEDIT since Visual C++ 6.0 ?

I'm not sure I understand. Do you want to read the registry? If so the shell
wrapper function SHGetValue() is probably the easiest way though inefficient
in some cases. For reading multiple values of the same key you might look at
RegOpenKey(), RegQueryValueEx() and RegCloseKey().

If it is not reading that you want to do, then what do you mean by recover?

Regards,
Will
 
OK !!

For example I want to recover Software information installed into my Pc, is
the best way read this data from the registry ?

Other case if you want to recover harware information from your Pc, reading
from the registry, is the best way ?, and how are the steps that we need to
follow ?
Any other recomendations are welcome !!

Thanks again.
 
German said:
For example I want to recover Software information installed into my Pc,
is
the best way read this data from the registry ?

I guess I'm stuck on "recover" which often means "restore to a normal
state".

If you are talking about enumerating all the software and doing it by
scanning the registry, well, then you can get close, but there is nothing
that prevents a simple copy of an application to a folder without an
intervening registry update.

That said, many applications store their installed locations here:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\

and a widget to uninstall here:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\

Regards,
Will
 
Yes, I do not want to "restore to a normal state", I want to count it and
identify every software installed into Pc.

How can we read the list containing of
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\ or
export this information from Visual C++ ?

Thanks Again,
 
Sure !!

And it works very good !!
Thanks again William DePalo
Best Regards,

German Medina
 
Back
Top