Change Windows registry key time/date

Në Vazhdim Postuar 5 vite mё parё Paguhet në dorëzim
Në Vazhdim Paguhet në dorëzim

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.)

Programim në gjuhën C++ Tryeza Windows

ID Projekti: #18172711

Rreth projektit

2 propozimet Projekti në distancë Aktiv 5 vite mё parё

2 profesionistë freelancer dërguan një ofertë mesatare prej $555 për këtë punë

MzHashmi

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 Më shumë

$555 USD për 10 ditë
(4 Përshtypje)
2.5