Jump to content

Wrong time by 7 hours... in the future?


Recommended Posts

Posted (edited)

@UCyborg I've tried to make a fix, but I've not been able to reproduce the correct behavior with bTimeAdjustmentDisabled set to FALSE via MinGW. After one hour, the time is still changed.

It's hard to check if applying the property succeeded as well, because GetSystemTimeAdjustment fails with error 203 - ERROR_ENVVAR_NOT_FOUND - "The system could not find the environment option that was entered".

If anyone is interested in looking into it, I've shared the source code here: https://git.lumen.sh/Fierelier/winutcfix
.EXE (sha256: f594d6112c8c64928b74bcff5c0c608d27a2c7003bf7d4548c2b503ecf1d8507): http://fier.me/software/winutcfix.exe

Maybe this just doesn't work with MinGW but I'm trying not to spend too much time on one project right now, and I don't feel like installing Visual Studio.

Edited by Fierelier

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...