Here you go... should be compatible with XP if compiled correctly and resets the time every 60 seconds... you might need to adjust this because it's currencly UTC.
Code:#include <Windows.h> #include <sysinfoapi.h> int main() { SYSTEMTIME sys_time; GetSystemTime(&sys_time); sys_time.wHour = 12; sys_time.wMinute = 0; sys_time.wSecond = 0; sys_time.wMilliseconds = 0; while (TRUE) { BOOL result = SetSystemTime(&sys_time); if (!result) { return result; } Sleep(60000); } }