Knowledge Base

INFO: Mixing Threading Models

Article ID: 191167

Article Last Modified on 6/12/2001


APPLIES TO


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.

Additional query words: prodtranssrv VB VC

Keywords: kbinfo kbfaq KB191167