i want to create a new registry entry and set current system time into registry. How can i implement it using C++
A:
GetSystemTime http://msdn.microsoft.com/en-us/library/ms724390(VS.85).aspx + RegCreateKeyEx http://msdn.microsoft.com/en-us/library/ms724844(VS.85).aspx + RegSetValueEx http://msdn.microsoft.com/en-us/library/ms724923(VS.85).aspx + RegCloseKey http://msdn.microsoft.com/en-us/library/ms724837(VS.85).aspx
steelbytes
2010-03-24 06:02:29
I understood this procedure and trying the same that u said.But my problem is i faild to get system time and putting it into regisrty.Sucessfully created new registry using RegCreateKeyEx
2010-03-24 06:17:52
My need is to take time day and year.
2010-03-24 06:28:07
what is failing? what reg type are you tring to store it as?
steelbytes
2010-03-24 06:35:38