Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Windows crash time

Windows crash time

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yaakov Davis
    wrote on last edited by
    #1

    Hi all. There is a way to retrieve the last Windows XP crash time? In other words, the latest time Windows has been running? Thanks, Yaakov

    M W 2 Replies Last reply
    0
    • Y Yaakov Davis

      Hi all. There is a way to retrieve the last Windows XP crash time? In other words, the latest time Windows has been running? Thanks, Yaakov

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Well, those are two different questions. I don't know about the last bluescreen time, but call GetTickCount() to get the uptime in milliseconds (but be aware this wraps around after 49.7 days) --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb

      Y 1 Reply Last reply
      0
      • M Michael Dunn

        Well, those are two different questions. I don't know about the last bluescreen time, but call GetTickCount() to get the uptime in milliseconds (but be aware this wraps around after 49.7 days) --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb

        Y Offline
        Y Offline
        Yaakov Davis
        wrote on last edited by
        #3

        I wonder if Windows logs these values somewhere. i.e. I want to get rhe previous uptime. Thanks.

        1 Reply Last reply
        0
        • Y Yaakov Davis

          Hi all. There is a way to retrieve the last Windows XP crash time? In other words, the latest time Windows has been running? Thanks, Yaakov

          W Offline
          W Offline
          WoutL
          wrote on last edited by
          #4

          You could take a look at the System Event Log. The entries from the eventlog service tell a lot about when a system starts and shuts down... Wout Louwers

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups