Simplicity is the ultimate sophistication

Time is a tangled web. Try not to dwell on all the loose ends..

Simple C++ to Access Windows Registry

Using Visual Studio, C++ and ATL template.

  • Change the Project property -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library be to “Multi-threaded (/MT)”, if you dont want to have MSCRTXXX.dll dependency.
  • Change the Project property -> Configuration Properties -> General -> Use of MFC & Use of ATL to make sure what dependency you want
  • Change the Project property -> Configuration Properties -> Linker -> Manifest File -> UAC Execution Level to be “requireAdministrator (/level=’requireAdministrator’)”