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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making system configuration changes with C++

Status
Not open for further replies.

pghTech

Technical User
Jul 19, 2006
37
US
I have been learning C++ for a small bit of time now, but it has been in the form of writing independant programs that all it's instructions are referenced to the program itself.

What I was wanting to ask in this forum, was where I can find the classes or other info on how to tap into the OS (windows xp and 2000 in this case) and run other programs, add and manipulate pre-existing registry keys, manipulate files and directories and stuff of the sort. Manipulating files and directories probably won't be hard to find out as I haven't looked into that.

The big question is how to use C++ to run programs just as if I was to run them from the run command with any additional switches. I would assume I would probably create console program as I won't need any user interaction.

Any suggestions would be greatly appreciated.
 
More specific; ShellExecute or CreateProcess

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top