In actual development, if Flash and Microsoft products are used in combination for programming, the interface development efficiency can be improved or the game development method can be changed (when the requirements are relatively low,I don't have to use OpenGL or other engines for programming. I even used. Net to write online games (based on UDP ).For the purpose of inspiring discussion, we should try our best to use brilliant language orCodeReply.
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
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
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
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.
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
You need to set the php. ini file, find this line of com. allow_dcomtrue, and enable the com component to use PHP to call the OCX control. This is not a problem, but in reality, the flash method is more common. There are not many actually used ocx, and there are few materials. We can see a successful example on the Internet: in fact, calling the
During video recording on a page, When you preview the page, you will always be prompted that the flash10b. ocx add-on fails, resulting in IE being forced to close, which is very annoying. I searched the internet and found out that it was originally an issue with the Adobe Flash Player control. The problem occurred when I loaded IE in version 10.0. According to the Internet, I uninstalled Adobe
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
Using regsvr32/u/s/n/I dllname. dllname indicates the ActiveX control file name, we recommend that you copy the following parameters to the system folder before installation:
/U-anti-registration control
/S-no matter whether the registration is successful or not, the prompt box is not displayed
/C-console output
/I-Skip the control option for installation (different from registration)
/N-do not register the control. This option must be
/I option used together
For example, if you want to registe
Need to set up the php.ini file, find this line com.allow_dcom=true, put COM component support enabledusing PHP to invoke the OCX control, this is not a problem, but in reality, the use of Flash avoidance method is more general. The real use of OCX is not much, and the data is relatively small, from the Internet to see a successful example:Actually call
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
This thing I have wanted to write before, but after I write "Make OCX", "MFC Application OCX", the HTML call OCX has been unsuccessful, for a long time, are almost giving up. Yesterday, the leader needed my side. A function that launches an external application through a browser is limited to the company's ignorance of the OC
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
ActiveX and OLE are com-based applications whose file suffixes generally end with DLL and OCX. ocx, as a special DLL file, has a certain user interface and Event Response, the DLL file is only a collection of methods and properties.
1. Introduction to DLL
DLL, dynamic link library, or dynamic link library is a set of modules that contain functions and data and can be used by other applications.ProgramSh
its registration function (DllRegisterServer, DllUnregisterServer) directly in the memory address.The programming method is:1. Use Windows API function LoadLibrary to load ActiveX controls;2. Use the GetProcAddress function to get the registration function DllRegisterServer (logoff function is DllUnregisterServer) pointer in the ActiveX control;3. Use the CallWindowProc function to execute an ActiveX control registration function (DllRegisterServer, DllUnregisterServer) loaded into memory.Examp
The biggest difference between ActiveX Control and window (2 k, XP) in Windows is to compile OCX of two versions and install one on Windows, in this way, you can use the OCX for programming in the EVC environment, and install it on WinCE to use the ocx program for calling.
A simple OCX test is made here, which can be
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.