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. Set Timer ???

Set Timer ???

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 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.
  • Z Offline
    Z Offline
    Zeeshan Bilal
    wrote on last edited by
    #1

    HI while using SetTiemr (,,,,); wt is the maximum Elapse time , we can set. Means to say it takes it in milli seconds we can conver it to hours or manyhrs(dayz) 1000 * 60 * 60* 24 = 24 hrs or is it depends on System( Processor etc) thanx

    A 1 Reply Last reply
    0
    • Z Zeeshan Bilal

      HI while using SetTiemr (,,,,); wt is the maximum Elapse time , we can set. Means to say it takes it in milli seconds we can conver it to hours or manyhrs(dayz) 1000 * 60 * 60* 24 = 24 hrs or is it depends on System( Processor etc) thanx

      A Offline
      A Offline
      Antony M Kancidrowski
      wrote on last edited by
      #2

      The elapse time is a UINT and is 32bits on Win32 machines. So you can enter a number up to 2^32 or (4,294,967,296) which will hold 49 days quite easily. Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Williams (Little Britain)

      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