Take you to the visual studio--take you to understand VC various types of engineering

Source: Internet
Author: User
Tags ole

Previous article take you to the visual studio--take you to create a new project the article mentions that there will be a lot of engineering types when you create a new project (Figure 1), which will now briefly describe the meanings and main uses of various types of projects. Because there are too many types of engineering, there are many I have not contacted, some may understand the less right place also please understand.


Figure 1:new Project

Understand several concepts

Understanding a few concepts before starting a lecture is the basis for understanding the various engineering implications behind it.

Com

The COM (Component object model) Component object models are a component software standard developed by Microsoft, just like CORBA on Unix. Components that follow COM standards are called COM components. The goal is to realize the software reuse of binary mode. On the Windows platform, COM is implemented in the form of DLLs (in-process components) and EXE (out-of-process components) 2.

Ole

OLE (Object Linking and Embedding) object linking and embedding is an object-oriented technology that leverages this technology to develop reusable software component COM. OLE is a technology that has been introduced earlier in the software, and many of the technologies in OLE are now fused to other technologies, such as COM and ActiveX.

Atl

The ATL (Active Template Library) Active Templates Gallery is a set of C + + template libraries that are commonly used to develop COM programs and ActiveX programs. Understanding ATL technology can be understood in the following two ways:
1.ATL can be said to encapsulate the COM, like MFC as a library, and a wizard, so that COM application development as far as possible to automate, visualize, which determines that ATL is only for COM development to provide support.
2.ATL uses a specific basic implementation technology to get rid of a lot of redundant code, the code of the COM application developed by ATL is concise and efficient.
Before ATL was produced, there were two main ways to develop COM components: one was to directly develop COM components using the COM SDK (COM software development package), and the other was to implement the COM support provided by MFC. Now, ATL has become the main development tool for Microsoft to support COM application development.

Mfc

MFC (Microsoft Foundation Classes) is a basic class library that Microsoft provides for the development of Windows programs. MFC encapsulates the Windows API in the form of C + + classes and includes an application framework to reduce the workload of application developers. It contains classes that contain a large number of Windows handles encapsulating classes and many of the built-in controls and components of Windows.

Activex

ActiveX is a set of technologies that Microsoft proposes to use COM technology to enable software components to interact in a networked environment, regardless of the specific programming language. As a technology developed for Internet applications, ActiveX is widely used in various aspects of Web servers and clients. At the same time, ActiveX technology is also used to easily create common desktop applications, in addition to the interface that ActiveX typically has.

ActiveX includes both server-side technology and client technology. Its main content is:
1. ActiveX controls (ActiveX control), which is used to insert COM objects into a Web page, an ActiveX-enabled container (Container), such as Microsoft word.
2. ActiveX documents (ActiveX document) for browsing compound documents (non-HTML documents) in Web browser or other ActiveX-enabled containers, such as Microsoft Word documents, Microsoft Excel documents, or user-defined documents.
3. ActiveX Script description (ActiveX Scripting), used to manipulate ActiveX control and Java programs from client or server side, pass data, and coordinate operations between them.
4. The ActiveX server framework (ActiveX Server framework) provides a series of functions and their encapsulation classes, such as server filters, HTML Data flow control, for the design of various aspects of the Web server application.
5. Built-in Java Virtual machine (Java VM) in Internet Explorer, enabling Java applets to run on Internet Explorer and can communicate with ActiveX control through the Scripting Description language.

Various engineering Structures ATL

The ATL Active Template Library is a Microsoft library that supports the use of the C + + language to write ASP code and other ActiveX programs. Pass

ATL projectclrclass libraryclr Console applicationclr Empty projectwindows forms applicationwindows Forms Control Library Generalemptycustom wizardmakefile projectmfcmfc ActiveX controlmfc applicationmfc dlltesttestwin32win32 Console ApplicationWin32 Project Description

There are several common types of engineering:
Win32 Console Application
Win32 Project
MFC Application

(This article is not finished, tomorrow continues ...)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permitted not for any commercial use, reproduced please indicate the source.

Take you to the visual studio--take you to understand VC various types of engineering

Related Article

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.