There was a wine installation project that used serial port testing traffic. I thought N had used the mscomm32.ocx control many years ago and searched it on the computer. I did not know it after Google. vc6 had this control, vc2008 does not have this control. From the next online, it is virus http://download.prjcode.com/detail/FTgcSST Everyone be careful.
Copy all four files to C:/Windows/system32 and run
1. register the mscomm32 control, download it online, and copy it to the c: \ windows \ system32 folder. I installed a 64-bit win7 System in C: in the \ windows \ syswow64 folder, open cmd, write the code regsvr32 c: \ windows \ system32 \ mscomm32.ocx, and press enter to prompt you that the registration is successful.
2. in the dialog box, add a control: Open t
Manual registration:
Step 1: Use the registration tool regsvr32 in Windows to register the OCX control, click "start"-> "run", and enter the following in:
Regsvr32 Control path/mscomm32.ocx
Step 2: manually create a primary key entry in the Registry: click "start" and "run", enter the Regedit command in the registry, find hkey_classes_root/licenses, and add th
1. Install mscommsetup .exe on the local machine to register the MSCOMM32.OCX control locally.
2. After registration
Run the following code to test JSP:
When the JS bullet box is 3, it indicates that the control is successfully loaded and the program can send data to the port.
Label: SP file CTI ad as C ++ window Program Installation
One method is to install VC ++ 6.0/VB6.0. If ActiveX control items (custom installation) are selected ), the MSComm control is automatically installed on the computer, and three files are added to the system folder: MSComm. SRG, mscomm32.ocx, mscomm32.dep; another method is to download these three files a
Hardware Environment : RS232 to USB Serial cable *Electronic scale * * (I use gg e600y-c type known as heavy instrument)Electronic scale original RS232 data line * *Computer * * Software Environment : RS232 to USB serial cable drive (this can be downloaded from the serial line manufacturer's website, I use Unitek production)Windows7 (32-bit)MSCOMM32 control (This can be found on the web) Implementation Steps :1, installing the
First, OCX control development
1, using the IDE version: VS2010
2. Develop OCX control based on MFC technology.
3. Basic OCX Development process
3.1, open vs 2010 New project, select MFC Template, "MFC ActiveX Control" "Visual C + + project", enter the name, all the way to the default.
3.2, the next face how to add OCX
JS Call OCX Control:
A. Register OCX control, regsvr32% control path%\ name. ocx
B. If the registration is successful, you can find the registered control name in the registration table.
C. Open Registry Editor, there is an edit in the menu bar and then choose to find the input control name, you can find the control,
and assign an object CLASSID, or you can find
To the users of cool dog software to detailed analysis to share the cool dog Remove OCX file method.
Tutorial Sharing:
If Kugoo is installed in the default directory, make sure that the computer does not have any windows open: Please type regsvr32 "c:\program Files\kugoo3\kugoo3downxcontrol.ocx" in the start--> run Then you can delete it casually.
Well, the above information is small weave to the cool dog of this software users bring
Release date: 2013-03-20Updated on: 2013-03-21
Affected Systems:Easewe ftp ocx ActiveX Control 4.6.02Description:--------------------------------------------------------------------------------Bugtraq id: 58622Easewe ftp ocx is an easy-to-use ftp activex component that supports all standard ftp functions.Easewe ftp ocx 4.6.02 has multiple Insecure Methods in the
Get the DOM object in the webpage when OCX is initialized, and ocx initializes the dom object.
During OCX initialization, SetClientSite is called and the IOleClientSite object is passed in.
1 CComQIPtr
Based on the IOleClientSite object, we can get the IOleControlSite object, and then get the DOM object of OCX in t
Recently in a WEB project, you need to call OCX to connect the card reader. Originally do not want to use OCX technology, because the ActiveX technology is produced by Microsoft, so that the entire system can only use IE browser (other browsers can be in the form of plug-ins to support OCX calls). But trying a lot of ways to invoke client DLL discovery is not goi
Recently working on a WEB project. You need to call OCX to connect the card Reader. Didn't want to use OCX technology. Because the ActiveX technology is produced by microsoft. This causes the entire system to use only IE browser (other browsers can support OCX calls via plugins). But trying a very many method calls client DLL discovery is not going to make Sense.
the difference between the 1.exe,ocx,dll
Analysis: EXE is an executable program, and OCX as a window control (the control is OCX, such as button), DLL is a function, variables, classes packaged in the library
OCX form is as follows:
Each of the diagrams is an OCX control (I
JS Support OCX Control Events (event), when the OCX control defined event occurs, JS can catch the event and the event to handle the corresponding.
Personal understanding, is actually the response of the event by WHO to complete, OCX control itself is certainly achievable, JS provides this mechanism so that JS can also complete
JS Support OCX Control Events (event), when the OCX control defined event occurs, JS can catch the event and the event to handle the corresponding.
Personal understanding, is actually the response of the event by WHO to complete, OCX control itself is certainly achievable, JS provides this mechanism so that JS can also complete
Step 1:
Anyone who has used ActiveX knows that ActiveX cannot be recognized and used by the system if it is not registered. Generally, the installer automatically registers the ActiveX control it uses, but what if you need to manually register a widget? If you modify the registration table, it will be too annoying. There is a regsvr32.exe program under the systemfile folder of windows, which is the built-in ActiveX registration and anti-registration tool for Windows. Its usage is: regsver32Regsv
I.AboutActiveX
ActiveX is Microsoft's strategic object-orientedProgramThe name of technology and tool. The main technology is Component Object Model (COM ). When creating ActiveX programs, the main task is components, a program that can run freely in ActiveX networks. This component is the ActiveX near control. ActiveX is Microsoft's defense against sunmicrosystemsJavaThe function of this control is similar to that of Java applet.
II.ActiveX Development Environment
The FFMPEG-based
is loaded during runtime, the executable module uses the loadlibrary function or the LoadLibraryEx function. The executable module calls the getprocaddress function to obtain the address of the exported DLL function. When linking, Windows searches for a pre-installed DLL group, such as the performance library (kernel32.dll) and Security Library (user32.dll ). Windows then searches for DLL in the following order:1. The directory where the executable program of the current process is located.2. C
VC ++ OCX control registration
Method 1: Run regsvr32 ocxname. ocx in DOS or Windows Command LineExample:Regsvr32 netshare. ocx // register the netshare. ocx control.Regsvr32/u netshare. ocx // unregister the netshare. ocx
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.