classafFancom::ComThread
sys::Obj afFancom::ComThread
Handles the tricky business of COM threading.
Implement nested closure calls like wot Scriptcom does.
Investigate how calling release()
affects COM event handling.
In essence, call initSta()
at the start of your COM calls and release()
at the end.
For more details:
- See COM Apartments in JACOB from JACOB
- See The Least You Need to Know about COM from Groovy Scriptcom