Change Windows registry key time/date

sedang Berlangsung Dipasang 5 tahun yang lalu Dibayar saat pengiriman
sedang Berlangsung Dibayar saat pengiriman

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

Pemrograman C++ Destop Windows

ID Proyek: #18172711

Tentang proyek

2 proposal Proyek online Aktif 5 tahun yang lalu

2 freelancer rata-rata menawar $555 untuk pekerjaan ini

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 Lebih banyak

$555 USD dalam 10 hari
(4 Ulasan)
2.5