Click to See Complete Forum and Search --> : Help on MTS
somu
Jan 17th, 2001, 10:03 AM
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.
Clunietp
Jan 17th, 2001, 10:09 AM
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
somu
Jan 18th, 2001, 02:00 AM
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
Clunietp
Jan 18th, 2001, 09:25 AM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.