First fewArticleSummary of the Application of COM. COM + cannot be mentioned for applications involving COM.
COM + is no longer limited to the COM component technology. It focuses more on the design and implementation of distributed network applications. COM + further unifies COM, DCOM, and MTS to form a component technology that is truly suitable for enterprise applications.
Specific applications include transactions, object pools, queues, events, and security settings.
Http://www.codeproject.com/KB/COM/#COM%2b this address involves COM/COM + a lot of practical content
In the past, a project used process pool processing. By using COM + Object pool processing, the related processing was greatly simplified, otherwise, the lifetime and pool processing of the processes will also involve a lot of troubles.
Due to the rapid development of distributed application technology, few such applications are currently involved, and few new developers use this technology, it is estimated that the development of existing component deployment and management is normal.
To sum up the specific deployment method, you can use the vbs file for deployment, the most convenient way. You can also directly use C ++/C # To operate the COM interface.
Refer:
Http://www.carlosag.net/Articles/configureComPlus.aspx
Dim Catalog as comadmin. comadmincatalog Dim Applications as comadmin. comadmincatalogcollection Dim Application As comadmin. comadmincatalogobject Set Catalog = new comadmin. comadmincatalog Set Applications = catalog. getcollection (" Applications ") Call Applications. populate Set Application = Applications. Add () 'Id Is An arbitrary guid, that you can create using uuuidgen Application . Value (" ID ") ="{Da2d72e3-f402-4f98-a415-66d21dafc0a9} " Application . Value (" Name ") =" Sampleapp " Application . Value (" Activation ") = Comadmin. comadminactivationoptions. comadminactivationlocal Application . Value (" Applicationaccesschecksenabled ") = Comadmin. comadminaccesschecksleveloptions. comadminaccesschecksapplicationcomponentlevel Application . Value (" Description ") =" Sample Application " Application . Value (" Identity ") =" Yourmachine \ Administrator " Application . Value (" Password ") =" Yourpassword " Application . Value (" Runforever ") = True Call Applications. savechanges Set Application = Nothing Set Applications = Nothing Set Catalog = Nothing