Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. skinah

    cant delete subkeys of \SYSTEM\ControlSet001\Enum\

    thanks for replying but thats not it. it works in all other areas of the registry but this one area and it HAS to do with something along the lines of RegSetKeySecurity ACE's SID's and DACL. I have checked the permissions for the keys in regedit and it is showing me that I am correct as the...
  2. skinah

    cant delete subkeys of \SYSTEM\ControlSet001\Enum\

    Thats what I am using already and its not working. As i wrote it works on all other areas except this one area. I am beginning to look into RegSetKeySecurity but its way over my head on how to use the command. Can anyone confirm this is the reason and give me an example on how to use the...
  3. skinah

    cant delete subkeys of \SYSTEM\ControlSet001\Enum\

    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...
  4. skinah

    cant delete reg entries in certain areas, why ?

    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...
  5. skinah

    RegDeleteKey not deleting keys with subkeys ?

    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.
  6. skinah

    NE1 know about _lfind ? or searching an array ??

    please help i cant figure it out. I'm sure that theres lots of really good c++ programmers here that will know.
  7. skinah

    NE1 know about _lfind ? or searching an array ??

    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...
  8. skinah

    Going Visual, where do I start?

    I know how you feel, I just done a short course in C++ and am now trying to move over to the visual side... Try these two things... this site.. http://www.cpp-home.com/ and also use imesh / morpheous to get some files called "learn c++in 21 days" "learn c++ in 24 hours&quot...
  9. skinah

    Need help with REGISTRY

    I have made some headway but still dont know why my last one didn't work. This time i pass this string to the function... AddRegE("System\\CurrentControlSet\\Control\\MediaResources\\AudioDSP24"); int AddRegE (char strKey[512]) { HKEY root; char szData[2]; DWORD dwBufSize = 2...
  10. skinah

    Need help with REGISTRY

    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...
  11. skinah

    ERRORS WHEN SWITCHING FROM DEBUG TO RELEASE

    I found a tip which hopefully will help others with problems when compiling a release build.. In the project settings under the link tab. tick the "link incrementally" box for the release settings. It fixed up some errors I was having. Mainly this error.... LINK : warning LNK4089...
  12. skinah

    How2 Seach file for string ???

    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...
  13. skinah

    How to add to a windows DIR

    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...
  14. skinah

    How mark file to delete after restaring?

    under win95 there is a file called WININT.INI and under a line called [remove] you simply add the program to be removed at startup... Well thats the theory as I've been trying to do it for ages and no luck.. Also you can use the CopyFile() command and use a NULL destination with a extension...
  15. skinah

    Driver developers please HELP

    Thanks for the reply, I'm sure that tip will help me out very soon as I'll need to uninstall software but what I really wanted to know was how to uninstall HARDWARE from the device manager. For example I wish to remove my sound blaster card from the sound video and game controllers section. That...
  16. skinah

    Driver developers please HELP

    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...
  17. skinah

    help Removing a device from device manager

    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...

Part and Inventory Search

Back
Top