Change Windows registry key time/date

En cours Publié le il y a 5 ans Paiement à la livraison
En cours Paiement à la livraison

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

Programmation C++ Bureau Windows

Nº du projet : #18172711

À propos du projet

2 propositions Projet à distance Actif il y a 5 ans

2 freelances font une offre moyenne de 555 $ pour ce travail

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 Plus

$555 USD en 10 jours
(4 Commentaires)
2.5