https://bugs.winehq.org/show_bug.cgi?id=38513
Bug ID: 38513 Summary: Unimplemented function GetSystemTimePreciseAsFileTime Product: Wine Version: 1.7.38 Hardware: x86-64 URL: http://www.winuae.net/files/b/winuae_test.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: markk@clara.co.uk Distribution: ---
I noticed a problem running the latest pre-beta version of WinUAE in Wine 1.7.38.
On running winuae.exe, Wine reports this (repeated many times): wine: Call from 0x7b83b6ae to unimplemented function api-ms-win-core-sysinfo-l1-2-1.dll.GetSystemTimePreciseAsFileTime, aborting and eventually: err:seh:setup_exception_record stack overflow 1072 bytes in thread 0009 eip f73a3061 esp 053e0f00 stack 0x53e0000-0x53e1000-0x5660000
GetSystemTimePreciseAsFileTime is Windows 8+ only. This bug isn't to report that GetSystemTimePreciseAsFileTime is unimplemented (though that's true). The problem is that winuae.exe tries to call it even when Wine is set to Windows XP mode.
On native Windows winuae.exe only calls it when running on Windows 8+; the program works fine on native Windows XP, Windows Vista 32-bit and Windows 7 32-bit.
The problem could be related to Visual Studio 2015 RC. The developer said:
'Probably any msvc 2015 rc compiled program has same problem, I guess.. Platform Toolset is set to "Visual Studio 2015 - Windows XP (v140_xp)" (plain v140 drops XP support)'
To reproduce: - Download the WinUAE 3.0.0 installer from http://www.winuae.net/files/InstallWinUAE3000.msi or the zip archive from http://www.winuae.net/files/WinUAE3000.zip - Run the installer or unpack the zip archive. - Download the pre-beta executable from http://www.winuae.net/files/b/winuae_test.zip - Replace the v3.0.0 winuae.exe with that version. - Run winuae.exe