Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question in 2.3.4.4
#2
Better don't use global Acc variables. An Acc variable contains COM object pointer. COM objects don't work in multiple threads, or need to explicitly free to avoid memory leaks, or need to lock to avoid simultaneous access by multiple threads (possible memory leaks, exceptions...).
If need to share a variable in functions running in single thread, there are better ways, for example Acc-.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)