Header file for GetRegistryKey?

D

Derrick

Hi all -

Trying to write a simple MFC app (though with VS.NET) that goes and checks
for registry key
FindRegistryKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetFramework\Policy\
v1.1")

Can't seem to find the include file for it though? Been a while since I've
been in C++ land, thanks in advance for any help!

Derrick
 
J

Jochen Kalmbach

Hi Derrick,
Trying to write a simple MFC app (though with VS.NET) that goes and
checks for registry key
FindRegistryKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetFramework\Po
licy\ v1.1")

There is no such function like "FindRegistryKey" or "GetRegistryKey"...

Please use:

- RegOpenKey(Ex)
- RegQueryValue(Ex)
- RegCloseKey

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top