Title: [msvc] Best way of accessing functions..

Hi,
  I have a global class that gets used with events from iexplorer, which
works fine. But I have one of the functions called within the same global
class during the OnTimer(..) which resets some of the variables. What is the
best way of making sure that the variables are not getting modified by the
two parts of the application? I tried using CCriticalSection, but didnt
work, then realised it protects the sections from different threads.

Anyone any ideas the best way of doing this?


Reply via email to