Using COM within a thread.


I have written an automation server which starts a thread at a given
time to do some backprocessing.  I want to give to the client
application the result back which was calculated in the thread of my
automation server.  The problem is that I can't access a COM object in
a thread.  Is there a workaround to achieve my goal.  I don't
understand very well threading with COM (STA, MTA, ...).  Has COM
threading something to do with my problem ?