any info on static timer variable

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2005
Posts: 69
Reputation: DotNetUser is an unknown quantity at this point 
Solved Threads: 0
DotNetUser DotNetUser is offline Offline
Junior Poster in Training

any info on static timer variable

 
0
  #1
Jan 13th, 2006
I'm coding in VC++.NET. Does a static timer work like any other static variable? I have a class CLASS1 that has a static timer TIMER1 and a function ENABLETIMER that disables then enables the timer. From the main file, I have a callback function that calls CLASS1::ENABLETIMER(); The timer is never triggered. I also tried directly enabling the timer from main. Doesn't help. My code is a lot more complicated, but I have summarized the part I'm having trouble.

static System::Windows::Forms::Timer * Timer1;
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC