How to set system time, day and year in registry

Posted by sijith on Stack Overflow See other posts from Stack Overflow or by sijith
Published on 2010-03-24T06:37:55Z Indexed on 2010/03/24 6:43 UTC
Read the original article Hit count: 187

i created new registry entry using RegCreateKeyEx(HKEY_LOCAL_MACHINE, TEXT("Software\XXXXXX\Test"), 0, NULL, 0, 0, NULL, &hkey, &dwDisposition)

Now i want to save current system time data and year to the newly created registry for later retrival

How can i implement it in VC++ using RegSetKeyValue. I tried but faile dto implement.

© Stack Overflow or respective owner

Related posts about windows-registry

Related posts about visual-studio-2008