, we need a better reuse mechanism (at the binary level), under Windows, a large number of non-COM-owned. Its basic idea is that it realizes the separation between the real interface and the code implementation, and it is not language-independent.com is divided into in-process components (compiled links into DLLs or OCX files, essentially, one interface with no interface) and out-of-process components (compiled linked to EXE files), these components w
Web Publishing of ActiveX controls consists of two parts:
1. ActiveX control production requirementsThe coding of ActiveX controls generated by web publishing requires that the security interface "IObjectSafety interface" of ActiveX controls be implemented ":
2. ActiveX control release requirements
1) create a cab package for ActiveX space:
To create a cab file, seeCreate a signature cab file for the MFC and ATL controls. This section describes how to create a cab file for distributing
Objective: To use JavaScript scriptsCodeCall the COM control to implement basic functions:1. Define and initialize the COM control;2. Call the COM interface;3. Register com events and call events.
1. Define and initialize the COM control Define an object tag on the HTML page to load the COM control:1) classid: the number of the COM control, used to uniquely identify a COM control;2) ID: it is the object accessed by javascript when calling the COM control. It is a global object. Here, the globa
opened8019 devices busy8020 read comm device error comreaderror8021 internal error comdcberror when Retrieving Device Control Blocks for this port
Research on Serial Communication Programming Technology in PowerBuilder
Abstract: This paper introduces how to implement serial communication by calling Win32 API functions in PowerBuilder, using mscomm32.ocx communication controls, using VCL communication components and calling functions in DLL (dynamic l
Create a signed cab file for the MFC and ATL controls
If you plan to sell the MFC control and ATL control over the Internet, you should package it into a signed small (Cabinet-cab) file. Sign the file to ensure that the source code is safe when the user downloads your control. A cab file contains a compressed version of your control and its installation information (for example, which dynamic link library DLL and OCX must be installed together.
Tools
Recently, the OCX control has been used in automated testing, so we have been paying attention to relevant content. After learning it, I realized that although there are still many problems to be solved even though I only use rft to call the OCX control. Today, I contacted Jacob's function: QueryInterface. It took two hours to figure out how to use it .......
To use QueryInterface (), you must know the IID.
message "cannot open the file MK: @ msitstore :\****. CHM "may cause this fault because it is hhctrl in your system. OCX files are lost or are hhctrl. if OCX is overwritten, you can copy one from the same computer or the installation disc and register hhctrl again. ocx file: The procedure is as follows: Step 1: Exit all running programs and click Start> program.
Method Three: First
try to use the following fix it.
Method Four:
If it is a Windows 7 system:
The problem with flash may be flash.ocx damage. Download the latest Flash Player control from the Adobe Web site and install it.
If the problem remains after installation, please confirm the Flash's. ocx filename: Open the C:/windows/system32/macromed/flash folder to view the specific file name of the.
Solution to failure of the browser to run the JAVA Script 1. Solution to failure of the browser to run the JAVA Script.
Rundll32.exe advpack. dll/DelNodeRunDLL32 % systemroot % System32dacui. dll
Rundll32.exe advpack. dll/DelNodeRunDLL32 % systemroot % Catrooticatalog. mdb
Regsvr32/s comcat. dll
Regsvr32/s asctrls. ocx
Regsvr32/s oleaut32.dll
Regsvr32/s shdocvw. dll/I
Regsvr32/s shdocvw. dll
Regsvr32/s browseui. dll
Regsvr32/s browseui. dll/I
Regsvr3
1. Digital Signature. To use signcode.exe to sign a digital signature, follow these steps:
The toolkit includes the following software: (C:/program files/Microsoft Visual Studio. NET 2003/common7/tools/bin directory)
Makecert.exe creates a certificate in cer format, that is, an X.509 Certificate. You can also create a private key.
Cert2spc.exe converts a CER certificate to a SPC certificate, that is, a PKCS #7 certificate.
Signcode.exe sign the certificate to
C ++ Builder uses ActiveX to display Flash animation-Linux general technology-Linux programming and kernel information. The following is a detailed description. With the strong support of Microsoft, more and more software companies are beginning to support ActiveX, which is a pleasure for friends who like programming! Because we can easily call the external OCX file in the program to implement complicated functions (Bill Gates finally did a good job t
This is a batch processing file. copy it and save it as RepairASP. bat for execution ~
Echo is being repaired. This process may take several minutes. Please wait ......
Copy codeThe Code is as follows: rundll32.exe advpack. dll/DelNodeRunDLL32 % systemroot % \ System32 \ dacui. dll
Rundll32.exe advpack. dll/DelNodeRunDLL32 % systemroot % \ Catroot \ icatalog. mdb
Regsvr32/s comcat. dll
Regsvr32/s asctrls. ocx
Regsvr32/s oleaut32.dll
Regsvr32/s shdocvw
.
Error lnk2001: external symbols that cannot be parsed _ imp _ initcommoncontrols @ 0Error lnk2001: external symbols that cannot be parsed _ imp _ initcommoncontrolsex @ 4
After tracking, we found that the two functions initcommoncontrols and initcommoncontrolsex are exported by comctl32.dll. Refer to the online solution and add the Lib library.
# Include # Pragma comment (Lib, "comctl32.lib ")
# Include
You can copy a computer, but the paste button does not work. The solution on the internet is as follows:
Method 1: register the following DLL files again.Regsvr32 shdocvw. dllRegsvr32 shell32.dll (note that you do not need to enter this command First)Regsvr32 oleaut32.dllRegsvr32 actxprxy. dllRegsvr32 mshtml. dllRegsvr32 urlmon. dllThe second command does not need to be input. After these commands are input, restart Windows.Enter the second command again.Method 2: issues with the
the way, I posted the content here to facilitate future use and to make it easy for users who are in the same trouble.The cause of this problem is that the IE module is damaged or is infected with viruses.Method 1: register the following DLL files again.Start-run-enter the following commands in sequenceRegsvr32 Shdocvw. dllRegsvr32 Shell32.dllRegsvr32 Oleaut32.dllRegsvr32 Actxprxy. dllRegsvr32 Mshtml. dllRegsvr32 Urlmon. dllThe second command does not need to be input. After these commands are
Cause: it may be a keyboard
2. Shock Wave Problems
3. The dll has been registered.
Method 1: register the following DLL files again.
Regsvr32 shdocvw. dll
Regsvr32 shell32.dll (note that you do not need to enter this command First)
Regsvr32 oleaut32.dll
Regsvr32 actxprxy. dll
Regsvr32 mshtml. dll
Regsvr32 urlmon. dll
The second command does not need to be input. After these commands are input, restart Windows. If it is invalid, enter the second command again.Method 2: issues with the
Method One: Re-register the following DLL files. Start-run, enter the following command in turn
regsvr32 Shdocvw.dll
regsvr32 Shell32.dll (Note this command, first do not lose)
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll
regsvr32 Msjava.dll
regsvr32 Browseui.dll
regsvr32 jscript.dll
The second command does not need to lose, after the completion of these commands restart Windows, if found invalid, and then re-enter again, this time enter
In this lesson, we'll learn what generic controls are and how to use them.
Theory:
WIN95 has several enhanced user interface controls relative to the win3x. In fact, these controls are in use before the WIN95 is officially released, such as: status bar, tool bar, etc. Programmers used to program them themselves, and now Microsoft has included them in Win9x and Winnt.
Toolbar---tool bar
TOOLTIP---hint text
Status Bar---State bar
Property sheet---Properties page list
Property Page---Propert
Copy and paste function can not be used in the situation I believe we have encountered, especially in the shock wave virus machine, it is easy to appear this phenomenon, how to do? Here are a few ways you can try:
Recommendation: Restart the machine first try, it may be the occasional system failure, if not, use the following method to solve.
Method One: Re-register the following DLL files.
Regsvr32Shdocvw.dll}
Regsvr32Shell32.dll (Note This command, do not lose first)
Regsvr32Oleaut32.dll
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.