jeff1101 Messages: 11 Registered: November 2005 Location: Philippines
Promising Member
Hi,
Got the ff errors on compile: (Do I need to include an *.h file to use SetTimeCallback() ?)
C:\MyApps\Counter\Counter.cpp: In member function `void CounterCtrl::InitTimer
(int)':
C:\MyApps\Counter\Counter.cpp:16: error: `CLASSNAME' has not been declared
C:\MyApps\Counter\Counter.cpp:16: error: ISO C++ forbids taking the address of
an unqualified or parenthesized non-static member function to form a poin
ter to member function. Say `&CounterCtrl::Inc'
C:\MyApps\Counter\Counter.cpp:16: error: invalid conversion from `int' to `_CN
ULL'
C:\MyApps\Counter\Counter.cpp:16: error: initializing argument 1 of `Callbac
k::Callback(_CNULL)'
Exitcode: 1
compiled in (0:03.12)
1 file(s) compiled in (0:03.12) 3125 msec/file