02-23-2013, 03:18 PM
In your case probably better is function, not macro.
If multiple threads started but interfere with each other, use lock, then other threads wait until first thread ends or unlocks.
Quote:The first one always blocks later calls to it.Look in Properties, maybe 'single instance' checked.
If multiple threads started but interfere with each other, use lock, then other threads wait until first thread ends or unlocks.