PDA

Click to See Complete Forum and Search --> : Pooled objects in VB6


fredrik
Oct 12th, 2001, 07:41 AM
I'm using the COM+ library and the ASP-library to use ASP-objects from a VB-component.

Because of that VB6 doesn't support free threading I know that I cant use object-pooling in COM+, but my question is why there is a property that can be set to true/false if the object cant be pooled anyway.


Implement ObjectControl

Private Function ObjectControl_CanBePooled() As Boolean ObjectControl_CanBePooled = True/False
End Function


Will the object be pooled if I set "CanBePooled = True"?
Or doesn't it matter if I set it to true or false?

Thanks in advance!

jim mcnamara
Oct 12th, 2001, 10:01 PM
AFAIK it has no effect to set it either true or false. I wondered about that and played with it. I could discern no effect at all.

VB script doesn't support threading really anyway.