Is there any way to get a hKey path?

contains all delphi packages mentioned below
Post Reply
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Is there any way to get a hKey path?

Post by nildo »

Hello! Giving the HKey, is there any way to get it's path?

Thank you!
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Yes, I think madKernel can help you here... :)
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Post by nildo »

madshi wrote:Yes, I think madKernel can help you here... :)
Openning the key Software\Microsoft I got this result using MadKernel:

\REGISTRY\USER\S-1-5-21-2000478354-1123561945-725345543-1003\Software\Microsoft

but... How to know if it's HKEY_CURRENT_USER, or HKEY_CURRENT_MACHINE, etc?

Thank you

(by the way: Incredible ;) )
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Post by nildo »

Ahhhh... I found it ;)
Thank you very mutch!!!!

By the way.. If you wanna earn some points, just answer to use MadKernel and I give you the 200 points: http://www.experts-exchange.com/Program ... l#17331046
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Post by nildo »

Madshi, I can not get the path for keys wich are inside HKEY_CLASSES_ROOT.
Any idea?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Not really. I don't have any specific code for asking registry names, IIRC. I think they just come on over by the usual "NtQueryObject" call I'm doing for every object. So I don't know what to do, if it works for some keys and not for others, unfortunately... :?
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Post by nildo »

madshi wrote:Not really. I don't have any specific code for asking registry names, IIRC. I think they just come on over by the usual "NtQueryObject" call I'm doing for every object. So I don't know what to do, if it works for some keys and not for others, unfortunately... :?
Ok! Thank you very mutch, once again!
Post Reply