05-12-2014 12:15 PM
hi everybody, i'm trying to start my timer but this error is poping as an NON-FATAL-RUN-TIME-ERROR while the command line is running.
SetCtrlAttribute (panelHandle, PANEL_TIMER, ATTR_ENABLED, 1);
miki
05-13-2014 12:25 AM
That's very strange: error -60 means "the control must be a list control", it has no connection with a timer!
Are you sure the line of error is that one? Have you checked that the panel handle refers to the panel the timer is on? Can you decode ATTR_ENABLE value? (place a breakpoint on the line and when the program stops on it hover the mouse on the label and note down resulting value).
Which version of CVI are you using? Are you developing in CVI or are you using VS or another compiler? Are you developing a standalone exe or a dll?
05-13-2014 03:20 PM
i found my problam, thank you a lot!