Download Pelles C here: http://www.smorgasbordet.com/pellesc/
Quote from: TimoVJL on November 11, 2025, 11:43:12 PMMissing CR from last line.Since version 11 something is wrong with it.
pomake v.10 works with a your example.
QuotePelles Make Utility, Version 2.80.0
Copyright (c) Pelle Orinius 1995-2004
QuoteNtQuerySystemInformation may be altered or unavailable in future versions of Windows.
Quote from: Vortex on November 09, 2025, 08:22:44 PMAnother method to get the boot time is to use the GetTickCount64 API function.Works only since Vista.
NtQuerySystemInformation(SystemTimeOfDayInformation, &stodi, sizeof(stodi), 0);
// (*(LONGLONG*)&stodi.BootTime) -= (*(LONGLONG*)&stodi.TimeZoneBias);
stodi.BootTime.QuadPart -= stodi.TimeZoneBias.QuadPart;
(*(LONGLONG*)&ft) = (*(LONGLONG*)&stodi.BootTime);
FileTimeToSystemTime(&ft, &st);
Page created in 0.068 seconds with 15 queries.