Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11480: Interprocess get_last_bootup_time use of Event Log on Windows is completely unreliable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-24 15:54:31
#11480: Interprocess get_last_bootup_time use of Event Log on Windows is completely
unreliable
----------------------------------------+----------------------------------
Reporter: Craig White <cwhite102@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.57.0 | Severity: Showstopper
Resolution: | Keywords: message_queue bootup
----------------------------------------+----------------------------------
Comment (by anonymous):
Have you considered using WMI?
The Win32_OperatingSystem class has a LastBootUpTime property.
https://msdn.microsoft.com/en-
us/library/windows/desktop/aa394239(v=vs.85).aspx
As described in the second answer here:
http://stackoverflow.com/questions/10853985/programmatically-getting-
system-boot-up-time-in-c-windows
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11480#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-04-24 15:59:51 UTC