Operating System:
Windows 7 32-bit (Service Pack 1)
Problem Description:
When trying to run the program, I get the following error:
"The procedure entry point GetSystemTimePreciseAsFileTime could not be located in the dynamic link library kernel32.dll"
Root Cause:
The function GetSystemTimePreciseAsFileTime is only available from Windows 8 / Server 2012 onwards. Windows 7 does not export this function in kernel32.dll.
Suggested Fix:
Please consider adding a fallback for Windows 7 by replacing GetSystemTimePreciseAsFileTime with GetSystemTimeAsFileTime (available since Windows 2000). A common compatibility pattern is:
#ifdef _WIN32_WINNT_WIN8
GetSystemTimePreciseAsFileTime(&ft);
#else
GetSystemTimeAsFileTime(&ft);
#endif
Or dynamically load the function and fallback at runtime.
Impact:
This prevents Windows 7 users (still a significant user base for some software) from using the application.
Request:
Could you please add Windows 7 32-bit compatibility support by removing the dependency on this API? Thank you.
Operating System:
Windows 7 32-bit (Service Pack 1)
Problem Description:
When trying to run the program, I get the following error:
Root Cause:
The function
GetSystemTimePreciseAsFileTimeis only available from Windows 8 / Server 2012 onwards. Windows 7 does not export this function in kernel32.dll.Suggested Fix:
Please consider adding a fallback for Windows 7 by replacing
GetSystemTimePreciseAsFileTimewithGetSystemTimeAsFileTime(available since Windows 2000). A common compatibility pattern is:Or dynamically load the function and fallback at runtime.
Impact:
This prevents Windows 7 users (still a significant user base for some software) from using the application.
Request:
Could you please add Windows 7 32-bit compatibility support by removing the dependency on this API? Thank you.