cTicksPerDay: optimised compilation error with timer

Discussion in 'Bug Reports' started by LineCutter, Apr 21, 2008.

  1. LineCutter

    LineCutter Active Member Licensed User

    I have no problem compiling without optimisation, but can't see a way to change the setting on the external compiler. It seems that 24*cTicksPerHour does the same thing too.
    The problem seems linked to the use with a timer, although I can't see an explicit limit on the number of ms to a tick. (Just putting cTicksPerDay in a program works fine)

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    cTicksPerDay = 864000000000
    You are trying to set the interval property of the timer to 864000000000 milliseconds which equals to 100000 days.
    This number is to large (and not meaningful anyway) for the interval property.
  3. LineCutter

    LineCutter Active Member Licensed User

    I want the timer to tick once per day... ah, hang on, elsewhere in the help: "Each tick is 1/10,000,000 of a second".

    I'd got my ticks confused with my ticks:sign0161:
  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