| | |
Problems with opening and editing a registry key with C++
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2005
Posts: 11
Reputation:
Solved Threads: 0
Anyone has any idea how to open a windows registry key using C++?
from my understanding, there is a function in winreg.h that does this, RegOpenKeyEx and RegSetValueEx.
But i cant seem to open the key with RegOpenKeyEx. When debugging, the debugger showed this error message "First-chance exception in Proj.exe (ADVAPI32.DLL): 0xC0000005: Access Violation."
Anyone know's what the problem is? or can anyone show how should i go about opening and editing the registry?
from my understanding, there is a function in winreg.h that does this, RegOpenKeyEx and RegSetValueEx.
But i cant seem to open the key with RegOpenKeyEx. When debugging, the debugger showed this error message "First-chance exception in Proj.exe (ADVAPI32.DLL): 0xC0000005: Access Violation."
Anyone know's what the problem is? or can anyone show how should i go about opening and editing the registry?
![]() |
Similar Threads
- about registry key . . . (Visual Basic 4 / 5 / 6)
- I want to manipulate the registry key values through a vb.net application (VB.NET)
- Making a registry key (Assembly)
- Prevent a registry key from deletion (C#)
- deleting registry key for error code 19 (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: how to remove *.obj file from *.lib...?
- Next Thread: 2 Good Books for absolute beginners...
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive return sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





