|
-
Jan 17th, 2001, 11:03 AM
#1
Thread Starter
New Member
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.
-
Jan 17th, 2001, 11:09 AM
#2
Guru
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
-
Jan 18th, 2001, 03:00 AM
#3
Thread Starter
New Member
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
-
Jan 18th, 2001, 10:25 AM
#4
Guru
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|