Timer component

Discussion in 'Questions (Windows Mobile)' started by 2220, Sep 24, 2008.

  1. 2220

    2220 Member Licensed User


    I'm developing an app. that works fine with B4P.

    I'm working with 2 serial ports and I use some timers.

    How many timers can work at the same time.

    Thanks in advance
  2. Erel

    Erel Administrator Staff Member Licensed User

    Any number of timers can work together.
    However you should set their interval to be long enough so the cpu will be able to handle the events.

    Note that events (including the tick event) are only fired when the program in an idle state.
  3. 2220

    2220 Member Licensed User

    With more than 3 timers, the forth doesn't work, but if you stop one of the three, then it works.
  4. Ricky D

    Ricky D Well-Known Member Licensed User

    try doevents

    Maybe you could try putting doevents in somewhere. I'm not sure exactly where.

    regards, Ricky
  5. 2220

    2220 Member Licensed User

    I'll try. I'm newbie with B4P and don't know the real limit of the compiler yet.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice