Advertisement
Guest User

Untitled

a guest
May 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. public ref class Caller
  2. {
  3. private:
  4.     Timer mTimer;
  5.     static void timerCb(Object ^ state);
  6.    
  7.     Caller::Caller()
  8.     {
  9.         mTimer = gcnew Timer(gcnew TimerCallback(timerCb));
  10.     }
  11.  
  12.     void Caller::timerCb(Object ^ state) { }
  13. }
  14.  
  15. // Error    C2582   'operator =' function is unavailable in 'System::Threading::Timer'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement