C++/CX Timespan methods question RRS feed

  • Question

  • Hi,

    Trying to set timer ticking using TimeSpan. At Web, incl MSDN, there are number of examples where used FromSeconds (like: TimeSpan interval = Timespan::FromSeconds( seconds );) but compiler gives "Class Windows::Foundation::TimeSpan has no member FromSeconds"

    What is going on, pls hlp. I know how to set with Duration/ticks, but really would love to use the class as advertised.

    Friday, November 2, 2012 8:37 AM