09-18-2008, 03:15 PM
Thread variables must be declared in every functions that use them.
If your project uses multiple threads, eg uses mac("Function") to run functions, to share data between threads you have to use global variables.
If your project uses multiple threads, eg uses mac("Function") to run functions, to share data between threads you have to use global variables.