Microsoft KB Archive/253744

From BetaArchive Wiki
Knowledge Base


PRB: Visual Basic Cannot Be Used to Create COM+ Pooled Components

Article ID: 253744

Article Last Modified on 12/5/2007



APPLIES TO

  • Microsoft COM+ 1.0
  • Microsoft COM+ 1.5
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition



This article was previously published under Q253744

SYMPTOMS

If you create a Visual Basic ActiveX DLL and install it in a COM+ application, you cannot configure components exposed by the ActiveX DLL as "poolable." The option is unavailable (grayed out) in COM+ Explorer.

CAUSE

Poolable objects must be either Neutral or Both and aggregatable. Visual Basic 6.0 (and Visual Basic 5.0) can produce only Apartment threaded objects that are not aggregatable.

STATUS

This behavior is by design.

Keywords: kbprb KB253744