Can 1 in 64 to re-register a 32-bit activex components?
2 can you make up a 32-bit DLL call the activex, then by 64 program calls the 32-bit DLL?
Please instruct expert, thank you
CodePudding user response:
It is too difficult, do not know how, please give advice or commentsCodePudding user response:
A 32-bit application can only be called 32-bit ActiveXA 64 - bit application can only call 64 ActiveX
CodePudding user response:
ActiveX/OCX can be 32/64 bit interoperability, not ordinary DLLs,CodePudding user response:
ActiveX and applications are in the same process, if one USES 32 bit address space, another can use 64 - bit address space?CodePudding user response:
You can try:https://www.codeproject.com/tips/267554/using-bit-com-object-from-bit-application
By modifying the Registry, you can allow a 64 - bit app to use a 32 - bit COM object.
Locate your COM object GUID under HKey_Classes_Root Wow6432Node/clsids.
Once located, add a new REG_SZ value (string). The name should be AppID and The data should be The same COM object GUID you have just searched for.
Add a new key under HKey_Classes_Root Wow6432Node/AppID. The new key should be called The same as The COM object GUID.
Under the new key you just added, add a new REG_SZ value (string), and call it DllSurrogate. Leave the value empty.
Create a new key under HKey_Local_Machine/Software/Classes/AppID, if it doesn 't already exist. Again, the new key should be called the same as the COM object' s GUID. No values are necessary to be added under this key.
CodePudding user response:
That was through a proxy to invoke, rather than a direct call.CodePudding user response:
64 will have to use a 64 - bit activex controls, a 64 - bit backward compatibility, only 64 can perform a 32-bit program,Pure 64 bit program, you must use 64 - bit controls,
CodePudding user response:
For application, the call is the same, ActiveX/OCX is original is not called directly, but through the COM interface call interface is just a pointer, the actual method invocation is done by the system level,