Results 1 to 5 of 5

Thread: MTS object creation

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266

    MTS object creation

    Dear all,
    I am trying to instantiate an ActiveX DLL in the class initialize event of another ActiveX DLL. In this case my DLL's don't work in MTS. They just keep on rotating and the ASP page then times out. As soon as I comment out the portion in Class initialize the dll's work. However the component I am instantiating in the class initialize event is an object that I require throughout the class and I cannot keep on creating an new instance of it in each and every method of my class. Is there any alternative to initializing my component in class initialize? This problem occurs only when I use my components in MTS. Without MTS they work fine.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    Thank you Andre.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    Is connection pooling possible in apartment threaded components?

  4. #4
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    Connection pooling is not a problem, on the contrary!!!

    What you cannot do with VB yet is object pooling.

    André

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    Ooops I meant object pooling. Well that means I will have to make my components in VC++.

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