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:

initMta

Source

static Void initMta()

Initialise aN MTA thread.

initSta

Source

static Void initSta()

Initialise an STA thread.

release

Source

static Void release()

Release current COM resources for this thread.