Com application summary [COM +]

Source: Internet
Author: User

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 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.