COM+ / Object Pooling / DECLARE_NOT_AGGREGATABLE
Posted on 2000-03-30
With a VB component object pooling is not possible. With a C++ component it is but can lead to very strange results and data corruption. From the brief MS help: When pooling is enabled objects will be recycled and reused. Object pooling can only be enabled for components that a written to meet the reusability requirements for poolable objects.
Sounds good! Questions:
1) Can someone explain from an implementation point of view in C++ what would be needed to support object pooling?
2) Why would you ever choose not to enable pooling?
3) Any comments on JIT activation?