Jump to content
xisto Community

nickthat

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I should point out a small bug in your code. if( argc < 2 ) { printf("\nUsage: acrh <filename>\n"); }You need a return statement in the "if" block. probably returning a non zero error value which is the standard way of doing it in C.
  2. Making direct calls to the Windows API functions shouldn't be neccessary. It would be easier, especially if you are new to C++ to use some classes that encapsulate the Windows API. These generally are less verbose as they require less parameters and will get you up and running quicker. A quick google search for such classes yields the following. I can't vouch for it but codeproject.com generally has good free code on it. http://www.codeproject.com/Articles/21453/Class-to-handle-the-Windows-Registry-operations
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.