Object access in Timerproc callback function

I want to access the object where my timerproc callback function is in from within the timerproc callback function. Since this callback function has to be static this is not possible although it belongs to that class. What can I do ?
MarcoHelmersAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
galkinConnect With a Mentor Commented:
declare a static variable of your object pointer type and intialize it somewhere before you are going to use it. Now you can access you object from global callback timer procedure
0
All Courses

From novice to tech pro — start learning today.