Hello everyone,

Two basic questions about function invocation from STA to MTA.


In my understaning, the owning thread of STA should not touch MTA component, and also in MTA there is no message queue for MTA owning thread to pumping messages.

My question is, if the owning thread of STA calls MTA component (by interface pointer), which thead is responsible for executing in MTA? From my above analysis, seems both STA owner thread (can not touch MTA component) and MTA owner thread (can not receive calls from STA through message queue, snice no message queue in MTA.)


Before function call returns from MTA, will STA thread waiting or it could execute in asynchronous way?

thanks in advance,