Regedit Problem in C++

This is a discussion on Regedit Problem in C++ within the C++ Programming forums, part of the General Programming Boards category; How can I change the string value by using C++?? Can anyone give me some hints? thx!...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    101

    Regedit Problem in C++

    How can I change the string value by using C++??
    Can anyone give me some hints? thx!

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    goto msdn and look up registry functions. without knowing exactly what you are doing its hard to say but i guess RegSetValue() is probably what you need.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Unregistered
    Guest
    Originally posted by Stoned_Coder
    goto msdn and look up registry functions. without knowing exactly what you are doing its hard to say but i guess RegSetValue() is probably what you need.
    Sorry for unclear, my question:
    How can I edit the string value in C++? Can u give me an example?
    For Example, I want to change the value in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSAnsi\ " ---
    7.0<==change the string value 0 to 1.

    Can u give me an example or link of editing regedit by C++?
    Thx!!

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21