views:

58

answers:

0

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.