[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Heart defect on Windows since October (#531)

Christoph Thiede notifications at github.com
Fri Oct 23 12:23:27 UTC 2020


Hi Eliot,

I don't think this is a backward compatibility issue. As mentioned, I'm using Windows 2004 (Build 19041.572), which is definitely a younger Windows version than 8.1 (which was released in 2013 compared to 2020). Microsofts and its versioning chaos :-)

And on my machine, time is definitively broken, or at least returning wrong values:
```smalltalk
Smalltalk os platformName. "'Win32'"
Smalltalk getSystemAttribute: 1007. "'CoInterpreter VMMaker.oscog-eem.2850 uuid: 4d7fc8a4-2c7d-4bad-8aeb-5f8c5766e12a Oct 21 2020'"
DateAndTime now. "586455-01-18T10:21:42.099068+02:00"
Time utcMicrosecondClock. "1194520452"
```

`GetSystemTimePreciseAsFileTime` per se works on my machine when I try to run [this code example](https://www.codeproject.com/articles/792410/high-resolution-clock-in-csharp#high-resolution-clock:~:text=High%20Resolution%20Clock,-On):
```
> HighResolutionDateTime.UtcNow
[2020-10-23 12:20:19]
```

Should it be relevant that I am using the 64-bit edition of Windows? However, I can reproduce the issue using both the 32-bit and the 64-bit version of OSVM.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/531#issuecomment-715308920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201023/2c696b80/attachment-0001.html>


More information about the Vm-dev mailing list