INFO: Mixing Threading Models

ID: Q191167

The information in this article applies to:

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          : kbfaq
Version           : WINNT:1.0,2.0
Platform          : winnt
Issue type        : kbinfo

Last Reviewed: August 12, 1998