VFP Timer doesn't work in COM DLL. See
Timer in st- or mt dll Thread #
615249 and
How does timer work Thread #
636691 Message #
637350.
>i want to enable/start a timer in app1 from app2.
>i created a prg with following code in app1.
>
>DEFINE CLASS HicTimer as Session OLEPUBLIC
>
> *--start the timer with specified interval
> PROCEDURE starttimer(tnInterval)
> m.frmsession.tmrHicpayments.Interval =
>IIF(EMPTY(tnInterval),1000,tnInterval)
> ENDPROC
>
>ENDDEFINE
>
>now i have following code in app2
>lo=CREATEOBJECT('app1.hictimer')
>lo.starttimer(100)
>RELEASE lo
>
>abv code is not working nor giving any error.am i doing right ??
--sb--