954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

any info on static timer variable

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;

DotNetUser
Junior Poster in Training
69 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You