Home > Software engineering >  By using the activex control source code, how to know
By using the activex control source code, how to know

Time:09-24

I now have a vc + + source code, there are generated when the activex control is imported. CPP and. H file, how to know that the code is to call the activex control, because I want to know the name of the activex or file name to use other language development, thank you,

CodePudding user response:

Generated file contains a clsids commonly, if control register correctly, should be able to search to the relevant information in the registry

CodePudding user response:


if(! M_Automation. CreateDispatch (" MI. Automation ")) can be found by this name

CodePudding user response:

Finding clsids is {688 c2f6f - old d40 CA63-4-83 d9 - C30CA6524780}, but couldn't find the relevant documents

CodePudding user response:

The controls should be used has not been registered to see whether there is instructions in the SDK/Demo
Another possibility is that you. H. CPP is COM interface program, rather than call external components, and have a look. Whether included in the CPP InvokeHelper such calls

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
A 64 - bit Windows platform attention point of the file system redirection http://www.cnblogs.com/jiake/p/4981555.html
64 - bit Windows platforms attention point of the registry to redirect http://www.cnblogs.com/jiake/p/4956218.html

CodePudding user response:

With 688 c2f6f - old d40 CA63-4-83 d9 - C30CA6524780 found in registry
  • Related