You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remote Automation Threading Models | Microsoft Docs
ms.custom
ms.date
11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic
article
dev_langs
C++
helpviewer_keywords
Remote Automation, threading models
threading [MFC], Remote Automation
ms.assetid
8828ccff-12a4-4f7a-865d-d19fbb0a82e2
caps.latest.revision
10
author
mikeblome
ms.author
mblome
manager
ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw
Remote Automation Threading Models
Remote Automation supports both the single-threaded and the apartment-threaded models of COM. On 32-bit and 64-bit platforms, which are all that Visual C++ supports, the threading model should be set to "apartment." For more information on how and where to do this, see Creating Programs That Use Remote Automation.