RE: CAPICOM Thread Capability?

From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: 01/29/04


Date: Thu, 29 Jan 2004 05:50:32 GMT

Hi Steve,
The CAPICOM 's ThreadingModel is marked as"Both". It indicates that the
class can execute in either MTA of STA with no FTM aggregation.
Sometimes the neutral apartment is similar to the MTA, which can also
contain multiple and concurrently executing threads. However, unlike the
MTA, the methods execute on the thread of the caller.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.



Relevant Pages

  • Re: COM und ThreadingModel
    ... ich kann über diese Parameter das ThreadingModel ... > Das CoInitializebetrifft nur Deinen Thread... ... > d.h. dieser InProc-Server kann nur das STA-Model und muss, ... > MTA laufen ohne das zusätzlich was getan werden muss ...
    (microsoft.public.de.vc)
  • Re: COM und ThreadingModel
    ... COINIT_APARTMENTTHREADED) -> ThreadingModel = Apartment? ... d.h. dieser InProc-Server kann nur in einer MTA-Umgebung laufen und muss deshalb, wenn er in einer STA-Umgebung verwendet wird, entsprechend gemarshallt werden ... Prinzipiell kann das OS nur MTA und führt dann bei den einzelnen Threads die ein anderes als MTA haben, ...
    (microsoft.public.de.vc)