Results 1 to 4 of 4

Thread: Help on MTS

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Coimbatore
    Posts
    7

    Exclamation

    I have registered an object in MTS machine using just "regsvr32" not thru packaging(MTS). This object can be accessed by its clients. And also, an object packaged in MTS can be accessed by its clients, not thru "regsvr32".

    If an object can be registered and accessed in both ways, then.. what is the difference between these two ways ..?
    Then what is the purpose of MTS...?


    Bye, Help me...


    Somu J.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    MTS adds the appropriate registry entries so that the DLL being activated will be managed by and ran within the MTS runtime. Whoever calls the DLL will get a reference to the DLL that is running in the MTS process.

    REGSVR32 just adds the entries so that whoever calls the DLL it will load the DLL into its own process

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    Coimbatore
    Posts
    7
    hello Clunietp,

    I have one more doubt. I have registered a Dll through Regsvr32 and also packaged through MTS.

    Now, in my page i create an object obj like this
    obj=server.createobject("project.cls")

    Whether this obj will take the reference from MTS or it will create its own process.

    Clear this doubt.

    Thanks.

    Regards,
    Somu

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    It depends on which one you did last. If you run REGSVR32, you don't need to register it with MTS. If you register it in MTS, you don't need to run REGSVR32.

    If you registered it last in MTS, most likely it is running in a MTS process, otherwise it will be running in-process with the web server

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