INFO: Mixing Threading Models (191167)



The information in this article applies to:

  • Microsoft Transaction Server 1.0
  • Microsoft Transaction Server 2.0

This article was previously published under Q191167

SUMMARY

You cannot have components with different threading models in the same package. This is because components with different threading models cannot be part of the same activity or transaction within a single application server process.

If you need to mix Microsoft Visual Basic and Microsoft Visual C++ components in the same package, you must identify the Visual C++ components as single-threaded. You can configure components with different threading models to be part of the same activity or participate in the same transaction. To do this, add all apartment-thread aware components in one package and all single-threaded components in another package.

Modification Type:MajorLast Reviewed:6/12/2001
Keywords:kbinfo KB191167