Hi All

Just when I think I am starting to understand the different threading 
models etc I start doubting what I think I know.

In the article at the link below they create a MTS/ASP COM object and set 
the threading model to both.
My guess is that MTS will run the COM object in an apartment model, but 
what if you develop the object to run without MTS ? Also why not just set 
the threading model to apartment even if used within MTS ?
I thought you had to write thread safe code before setting the model to 
both.

http://www.yasdbooks.com/devaspcomp/bonus/delphi.htm

Neil ANderson

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to