[Vm-dev] Question | Bump min support from WinXP to Win8

Marcel Taeumel marcel.taeumel at hpi.de
Wed May 13 06:49:19 UTC 2020


Hi all!

I have opened a pull request: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499 [https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499]

The idea of bumping the version from Windows XP (0x0501) to Windows 8 (0x0602) came from the rather crude attempt to check for "if API exists" in sqWin32Main.c:

typedef BOOL(WINAPI *pfnGetFileInformationByHandleEx)(...);
static pfnGet[...]HandleEx pGet[...]HandleEx = NULL;
if (!pGet[...]HandleEx) {
...
GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")) ...
if (!pGet[...]HandleEx) return -1;
}
...

(See https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getfileinformationbyhandleex [https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getfileinformationbyhandleex])

Also, there are some definitions copied over from newer header files. Just take a look that those "#if (WINVER < 0x0400)" and similar.

Microsoft has long ended the support for Windows XP. The next in line look similiar: Windows Vista, Windows 7. Support has ended there, too.

We could bump further but Windows 8 looks like a fair improvement in reliability and robustness comparing to its predecessors. And the last update for Windows 8 was only 8 years ago. Not even a decade. :-)

Best,
Marcel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200513/99e02057/attachment.html>


More information about the Vm-dev mailing list