STA component call MTA component

Joined
Feb 12, 2008
Messages
108
Reaction score
0
Hello everyone,


Two basic questions about function invocation from STA to MTA.

1.

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.)

2.

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


thanks in advance,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top