can anyone give me some help tracking down the reason why my function i wrote deletes all other areas of the registry perfectly yet it just wont allow me to remove any subkeys from this branch...
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum
if anyones knows the trick to it please give me a...
I cant seem to delete keys in this path..
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum
it works for all other areas. The same goes for enumerating the subkeys I cant do it unless I set KEY_READ which means I cant delete the keys. If i open the key to enumerate with KEY_ALL_ACCESS then it wont...
I'm using RegDeleteKey and its working great unless the key has subkeys. How can you delete the key and all sub keys with the least file size and coding ?
Is there a better way then using RegDeleteKey ?
thanks for any help.
I need some help searching an array for a key. I believe that _lfind can do what I want but I dont understand the compare parameter. Why do you need to write a compare function for the command to work and how do you go about writing a simple function to find one string in another string.
At the...
heres a function that I'm trying to write. I call the function with a line like this..
AddRegE("HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\MediaResources\\AudioDSP24");
int AddRegE (char strKey[512])
{
CRegKey MyRegFix...
I'm slowly learning visual c++ and need a little bit of help.
How do I search the contents of a file for a string ?
For example I wish to search a text file say (test.txt) that I know the name of for the words "hello" . I dont know the exact location of the words and dont care about...
What I want to do is delete a file that is off the windows directory. I know how to delete a file and how to getwindowsdirectory, but how do I combine the two ??
SAy the file is c:\windows\temp\test.tmp
How do I add two strings together or write a line that assigns both strings...
Could someone please help me with either the commands I need or even better some source code that allows me to uninstall a device driver from the device manager in windows ??
All I wwant to be able to do for now is just remove one device the same as clicking on remove in device manager.
Thanks...
Hi I work in tech support and need to be able to write programs for people to run that will uninstall a device from the device manager. I have seen some graphic cards installation programs remotely open the device manager and upgrade the drivers for a device. How can I write some code to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.