Overview] This article starts with a basic concept, and clearly demonstrates COM in terms of COM interfaces, type libraries, GUIDs, and so on. At the same time, this article also introduces the creation of COM objects, what is MTS, how to use MTS to manage COM objects, his advantages and programmatic implementation, an
Go The difference between COM components and DLLs2014-8-14 Read 169 comments 0COM English is the Component Object model (Component object models), which is the standard for Microsoft production software components.It is a specification for constructing binary-compatible software components that can communicate directly with each other, regardless of the language in which the component is written, as long as the CO
First, I declare that I am not a master of COM/ATL. Although I have been in contact with them for four years, I have not been able to conduct in-depth research and use them extensively for some reasons at work. However, it is a bit difficult to look back at their painful experiences. Here, I would like to share with you how to learn them, so as to reduce the detours for later users.
I personally think it is not easy to learn
Mutual operations between the. NET component and the COM component // (convert)
. NET technology is the next-generation platform technology that Microsoft vigorously promotes. Since the formal release of. Net Technical Architecture beta2, this technology has gradually become mature and stable. According to Microsoft's platform system share, we can easily imagine that in the next year or two. NET technology is bound to become a mainstream technology pl
services|web|xml| check box Another area that can be customized includes the lifetime management of client-activated objects, as in the following example:
version=0.0.0.0, Culture=neutral,
Publickeytoken=9c6052078b454cee "
objecturi= "SCTrans.SCTransSQL.soap"/>
The highlighted row added in the Web.config file changes the lifetime of the client-activated object in this IIS VRoot from 6 minutes to 30 seconds. If you change the SingleCall property of the wellknown element to Singleton, the activa
. NET components and COM components interoperate
. NET technology is the next generation platform technology that Microsoft vigorously promotes, since. NET technology Architecture BETA2 version of the official release, the technology has gradually become mature and stable. According to Microsoft's platform system share, it is not difficult to imagine that in the next year or two. NET technology is bound to mount the mainstream technology platform, and
InitializationPlugin.DL_Speak.ini ("yxme64uttbjhv0r620180302005400")Get the pronunciation clerk that exists in the systemSS = Plugin.DL_Speak.GetLanguageMessageBox SSSet the pronunciation of the system voice library 0 1 2 3Plugin.DL_Speak.SetLanguage 0Set pronunciation speed +50Plugin.DL_Speak.Rate 50Read the custom textPlugin.DL_Speak.Speak ("But Tretfdgfd of Guangdong Province, a wide range of widely-held Guangdong province Guangdong province")Convert text to WAV audio files and save them in a
Recently made an ATL-based control, designed an interface, want to return multiple parameters, but through JavaScript but can not get the return value, originally thought is the problem of their own interface, and later found on the Internet a lot to find that the original MSDN has a clear saying:JavaScript does not support passing parameters by reference. JavaScript would make copies of these variables and pass them by value when calling methods then take By-reference parameteRs. Thus, you cann
about the 32-bit Win7 operation method
The last week, every time I open my Video folder, always will pop up an error box, prompted the COM surrogate has stopped working, or the explorer has stopped working, need to restart, although not affect the use, but very uncomfortable, then on the jar turned, found that this problem is very common, And there are not many people who have solved the problem, and by coincidence, I found a way to sort it out as fo
This COM uses a VC resource file. is the dictionary.
We can go to 61.134.75.70/download/gb2big5.zip to download
The original code is as follows:
'//////////////////////////////////////////
' Chinese name: GB and BIG5 internal Code interchange control
' English name: Gb2big5
' Author: Blood
' Version: 1.0
' Production time: 2002.3.5
' All rights reserved Blood 2002-2003
'//////////////////////////////////////////
Option Explicit
' Define variables
Dim
Open the program in our w764-bit flagship computer, the use of the program, this would have been a natural, but also ordinary things, but in specific cases, there are really some time, Win7 flagship computer suddenly appear some strange fault, leading to our normal program is not normal operation, this does not , today, a user using Win7 flagship computer said that his Win7 flagship computer suddenly popped the "COM surrogate stopped working" Error pr
Troubleshoot win7 registered COM component failures
Run: regsvr32 xxx.ocx
Tip: The module "Xxx.ocx" has been loaded, but the call to call DllRegisterServer failed, and the error code 0x80004005.
Problem analysis: Due to Win7 permissions
Solution:
1. Start-> in the search box to enter ' cmd '-> search out of the Cmd.exe file on the right click, select ' Administrator identity Run ':
2. Execute again: regsvr32 xxx.ocx command, such as specifying t
Ado| technique to implement the following features, make sure that the com.allow_dcom option in PHP.ini is set to true.
One, preparation work
Create a new Access database and name it Db.mdb, and then create a new table Comtest in the database, including ID and title two fields, and finally insert some data.
Two, implementation code
//is the newly built database
$db = ' D:\\wwwroot\\db.mdb ';
//establishes the connection and opens the
$conn = new
The modification method of homepage 2345.com in the multi-special download station
Many special software can not be used, the solution is to save the following file as a Ok.reg file, import to the registry, double-click directly, antivirus software is prompted to allow the
Copy Code code as follows:
Windows Registry Editor Version 5.00
[Hkey_classes_root\clsid\{871c5380-42a0-1069-a2ea-08002b30309d}\shell\openhomepage\command]
@= "\" C:\
This information has not been audited by this site. from the network.
Content:> Telecom/netcom Computer room interconnection, independent management> A virtual host independently configured 100MB Independent web space> This year's latest "dual Xeon" series of hosts, server group front-end hardware firewall installed> Support ASP, CGI, PHP, ASP. NET and other web script> Free Access database support> Free host domain bindings, uploading components> Superior Virtual Host Control Panel> prohibit t
This article describes a method for usingVC + + ATL (Active templatelibrary), usingispextensibilityinterface, foristylepdfJoin the function simpleCOMPlugins (addin), add visual parts such as toolbar buttons, and add a method for responding to events. We useVS2010to beistylepdfPlatform Development Plugin, of course, can also use otherVStools. The first step in developing a plug-in requires installationistylepdfClient , the client program includes theActiveXcontrol, this is the type library we nee
is expected to being type ' org.com.ssh.hibernate.AOPService.EchoTest ' but was actually of type ' com.
Do an AOP to close the session but the above error occurs
Looking for something to beans.xml.
The above is my wrong configuration
There are two statements of AOP just remove the above file.
Should be a duplicate definition
Method Exportsde debugging is not a problem in VS, reporting errors after publishing to IIS: A call to a COM component returned an error HRESULT e_fail.
Google found that the solution to the problem is the same, no one works.
Later, I searched for a problem at http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=69628, and then I tried to create a temporary connection file to resolve it.
Here is the error code:
protected void Page_Load (object sen
To write an ActiveX Dll first:To create a new VB6 project, the ActiveX DLL names the project P_test, the class name is C_test, and the file contents of the class are as follows: Option ExplicitPrivate Myscriptingcontext as ScriptingContextPrivate MyApplication as ApplicationPrivate myrequest as Request private myresponse as ResponsePrivate MyServer as ServerPrivate MySession as session public Sub OnStartPage (Passedscriptingcontext as ScriptingContext)Set Myscriptingcontext = Passedscriptingcont
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.