the object-oriented idea is difficult to adapt to this distributed software model, so the componentized Program design idea has developed rapidly. According to the idea of componentized programming, complex applications are designed into small, single-functional component modules that can run on the same machine, it can also run on different machines. In order to implement such an application, some extremely detailed specifications are required between the build program and the build program.
Today I went to SQL Server 2005 and installed it for research.
The installation process was not very smooth, mainly due to COM + errors. I searched the internet and solved the problem as follows:
The installation is successful as follows.
Warning for COM + directory problems during sql2005 Installation
The installation of sql2005 failed. I thought the problem was caused by the
1.COM Technology Overview
COM represents the Component Object model, the software development technology that Microsoft promotes. The application software developed by COM specification has the powerful function, mainly has the following several points:
COM is a binary programming specification that allows you to wri
COM + was already generated as early as the window2000 was released and integrated into the operating system,
The runtime is in the form of a service. COM + adds a series of MTS (a system service that
Used to manage persistent data in a database and also to handle persistent message queues and file systems in transactions
Service
1, transaction services: It ensures the integrity of the data in the distribut
I. BACKGROUND notesIn VS Environment, develop C + + code operation PPT, support the modification of PPT template. This includes modifying text labels, charts, and tables. To meet the requirements of most software-generated PPT reports, create PPT templates manually and modify the template data in the program.Second, the development environment constructionCreate a COM interface for PowerPoint and Excel through the VS2012 Class Wizard; Because you need
First create a COM component, insert a dual interface ITest, and implement the following three methods on this interface:STDMETHODIMP ctest::test (void) //No input/output parameter { //TODO: Add implementation code in this MessageBox (null,l "test", L "test", MB_OK); return S_OK;} STDMETHODIMP Ctest::test1 (BSTR A1) //have a string input parameter { //TODO: Add implementation code in this MessageBox (null,a1,l "test", MB_OK);
one of the principles and implementation of COM
COM component is actually a special object system, follow a unified standard, so that each software can access the object in some way, can do component calls. COM is the unified standard-invoking COM components through interfaces. An interface is the only thing that a
If you are an active Server page (ASP) developer, it is believed that you may often use COM objects to create ASP pages. Even when you use it, you ignore that he is a COM object. For example: ADO. The only component with the highest call rate is the ability to extend unlimited functionality to your page. However, the ASP itself is an interpretative script that is not functional enough to
When I was working on a project a while ago, I encountered the call and use of the COM component. At that time, I had a good research, so I had to get through the intermediate link. Now I wrote it to help you, there are four types:
1. In vs2005, C # compiles a DLL and calls it using C ++.
2. Use vc6.0 to call the COM component written in C # In vs2005
3. Compile COM
The excerpted article is not original. For the sake of clarity, no source code is provided. The example should be taken to the original article link below. :)
Http://dev.csdn.net/Develop/article/article/25/25203.shtm
3. Create a COM component manually1. From Project Creation to registrationIn this process, we will complete three steps: Create the DLL entry function, define the interface file, and implement the registration function.1
Iis
Microsoft has tightly integrated the capabilities of IIS and COM +, which makes it very easy to leverage transactional applications in the process of programming the transaction Web page. There are many different ways to integrate the transaction characteristics of COM + and IIS, including the following:? Transactional ASP.? The ObjectContext in ASP.? Transactional events.Developers can use one or more
Method and property names of objects that enumerate COM objects in. Net
Author:zee
Well, I used to ask this question, no one said, or do it yourself better.
Generally, when a COM object is provided, it usually provides a type library in which all the method names, parameter names, property names, and so on of the COM object are defined. All we have to do is ta
1, the Linux server configuration switch environmentA, remotely connect to a Linux server over a network or use a Linux server locally, connect a Linux server's COM port to the console port of the switch, and install the Minicom software configuration switch on a Linux server.b, if the minicom is not installed, the Yum installation method is as follows:Yum install-y minicom installs COM serial communicatio
The current project is to develop an add-on for Excel to achieve financial-related business, and after a lot of factors are considered, decide to abandon C # and develop it in C + +. There are two ways to develop Excel add-ins in C + +, one is an Excel add-in XLL, and the other is to use ATL to make COM add-ins. The advantage of the XLL approach is that it is close to the bottom of Excel, executes quickly, and does not need to modify the registry, but
Using WMI to obtain system information procedures
As an example of obtaining a native system, the process of obtaining system information is as follows:
1 initialization of the COM library
Since the WMI application was written in C + + based on COM technology, the COM library must be initialized, when the call function CoInitializeEx is used to initialize the
The Oracle tutorial you are looking at is that Oracle uses Pl/sql to manipulate COM objects. The Pl/sql is extended by Oracle company to standard SQL, dedicated to programming in Oracle databases, and is a third-generation process programming language. Starting from Oracle8, it provides the process of calling external C language directly from Pl/sql, allowing developers to use PL/SQL for programming modules in C language. Starting with Oracle8i, Java
services|web|xml| check box for simplicity, the examples above all use VBScript to access Web services. The SOAP WSDL moniker can actually be written using Visual c+, Visual Basic 6.0, Visual Basic. NET, or C #. For example, Visual Basic. NET can also use compiled managed code to access the same object, as shown in the following example:
Imports System
Imports System.Runtime.InteropServices
Module wkoclient
Sub Main ()
Dim Wsdlmoniker =
"SOAP:WSDL=HTTP://LOCALHOST/CSSOAP/CSSOAP.CALC.SOAP?WSDL"
HomepageOne of the new transactions: transactions in DOTNET and COM + (2)One of the new transactions: transactions in DOTNET and COM +
--------------------------------------------------------------------------------
Stingy god
2002-4-16
Article type: In-Depth
Difficulty level: 6/9
Version: 2.32
Transaction-related attribute classes in CLR
Attribute ClassFunctionAutocompleteattributeThe declared transactio
Debug COM + in Delphi7
The biggest headache for Developing COM + application systems is how to debug COM + components. Because COM + is executed in the execution environment of COM +, therefore, Delphi programmers cannot directly set the breakpoint of the application server
Use C # to do WinForm programs, long time will inevitably encounter and COM components to deal with the place, how to create COM objects also become a problem we must face. As far as I know, there are several ways to create COM objects:
1 used. NET wrapper COM component
The easiest thing to do is to import the DLL th
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.