Results 1 to 2 of 2

Thread: Pooled objects in VB6

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    Falkenberg, Sweden
    Posts
    76

    Post Pooled objects in VB6

    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.

    Code:
    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!
    ________________________
    Fredrik Klarqvist

  2. #2
    jim mcnamara
    Guest
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width