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

Command Line Help?

Status
Not open for further replies.

mNag

Technical User
Dec 29, 2002
1
CA
Hi, I've browsed this forum for a while, but this is my first post. I'm very green to C++, but I wanna make a simple program, I just have no clue about it. (sorry if I sound like I'm trying to make you write my program). All I need it to do, is read a registry key GameDirectory from HKEY_LOCAL_MACHINE/SOFTWARE/MyGame. Then it has to add game.exe and also add " +game level_1" and run the program with those parameters. Thanks for your help.

-Erich Albert
 
The sequence will be RegOpenKey/RegLoadKey,RegCreateKey,RegSetValue/Ex..RegCloseKey etc for your program
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top