Visual C + + 6 Add-in Programming instance

Source: Internet
Author: User
Tags documentation visual studio

Recently I spent some time learning how to write Add-in for Visual C + + 6.0. This is an interesting question, but overall, documentation and sample procedures are still scarce (more rare in Chinese). So I decided to write out some of my own learning process, and share with you.

Frequently asked questions about Visual C + + add-in

(1) What is Visual C + + add-in? What is it used for?

In general, Visual C + + add-in is a component object that implements certain COM interfaces that can be embedded in the Developer Studio integrated development environment and provide commands for automating tasks, or simplifying program writing processes, and so on.

From a programmer's point of view, a Visual C + + add-in is basically a COM object that implements the Idsaddin interface. With this interface, Add-in is able to manage the Developer Studio environment and perform specific tasks.

(2) How to write add-in?

The easiest way to do this is to start Visual C + + AppWizard and select DevStudio add-in Wizard from the project type, as shown in the following figure.

(3) Where to find the programming materials and documents about add-in?

The most complete documentation is in MSDN, where MSDN library\visual Studio documentation\using Visual c++\visual C + + User ' s guide\automating Tasks in Vi Sual C++\add-ins for Visual C + + Developer Studio. Different versions of MSDN may have some minor differences on specific paths.

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.