Any time a Windows registry key is written, a time/date attribute is updated. This means that each Windows registry key has a time/date for the last write.
I need a function, or set of functions, that allows the update of a key's time/date attribute to a given date/time.
For instance: Let's say there is a registry key that I want to set to last week's date/time, I can use the function to set that key's date/time to the given value. The function can set to previous times/dates, or future times/dates.
I also need a helper function to create the last write time object from normal date/time values.
FILETIME createFileTime( int month, int day, int year, int hour, int minute, int second );
void setRegistryKeyTimeDate( HKEY hKey, LPCSTR lpSubkey, FILETIME ftLastWriteTime);
Example:
setRegistryKey( HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\ThisKey", createFileTime( 1, 1, 2018, 22, 10, 0 ) );
The program must be written in C++, I prefer Visual Studio 2013.
The milestones will be in two parts. The first part is delivery of an EXE that works correctly. The second is delivery of the Visual Studio project that I can compile on my development system. (Check my feedback, I always treat people fairly.)
Hi this is Sumair and i have desktops apps such as console and windows forms app for long time now. i assured quality and available all the time if encountered any problem in future even i will done the changes free
that's why my every costumer is happy after work please contact me to discuss more
Thanks