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. Mobile Development
  3. Mobile
  4. How to use a timer in a dll

How to use a timer in a dll

Scheduled Pinned Locked Moved Mobile
tutorial
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.
  • A Offline
    A Offline
    anuhoho
    wrote on last edited by
    #1

    Can anyone suggest a way as to how i can use a timer in a dll.How we can use windows messages or settimer . Thanks in advance!!!!

    K A 2 Replies Last reply
    0
    • A anuhoho

      Can anyone suggest a way as to how i can use a timer in a dll.How we can use windows messages or settimer . Thanks in advance!!!!

      K Offline
      K Offline
      KingsGambit
      wrote on last edited by
      #2

      I think you can use SetTimer() with a timer proc. http://msdn.microsoft.com/en-us/library/ms644906(VS.85).aspx[^]

      A 1 Reply Last reply
      0
      • K KingsGambit

        I think you can use SetTimer() with a timer proc. http://msdn.microsoft.com/en-us/library/ms644906(VS.85).aspx[^]

        A Offline
        A Offline
        anuhoho
        wrote on last edited by
        #3

        SetTimer requires a message pump but my dll doesnt have any. So i cant use it. I need an alternative of Sleep() so that i can use it

        1 Reply Last reply
        0
        • A anuhoho

          Can anyone suggest a way as to how i can use a timer in a dll.How we can use windows messages or settimer . Thanks in advance!!!!

          A Offline
          A Offline
          Alain Rist
          wrote on last edited by
          #4

          The practical answser to your question and the two previous ones is at http://windowsmobiledn.com/qa-how-can-i-register-my-program-to-run-at-a-certain-time/[^]. cheers, AR

          When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)

          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