Because QuickOPC-COM and QuickOPC-UA for COM are implemented by exposing the .NET objects of QuickOPC to COM, you need to basically do two things:
- Deploy the assemblies needed for .NET (see preceding chapter).
- Register them using the Assembly Registration tool (Regasm.exe)
The Assembly Registration tool is a part of .NET Framework, and is therefore available on every computer that has the .NET Framework installed. You only need to apply the Assembly Registration tool to the following assemblies:
- OpcLabs.BaseLib.dll
- OpcLabs.BaseLibComponents.dll
- OpcLabs.BaseLibForms.dll
- OpcLabs.EasyOpcClassic.dll
- OpcLabs.EasyOpcClassicComponents.dll
- OpcLabs.EasyOpcClassicCore.dll
- OpcLabs.EasyOpcForms.dll
- OpcLabs.EasyOpcUA.dll
- OpcLabs.EasyOpcUAComponents.dll
For more information, please refer to http://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx. It is recommended that you use the /codebaseoption when registering the assemblies.
On 64-bit systems, a 32-bit and a 64-bit version of RegAsm.exe are present. Using the 32-bit version of RegAsm.exe registers the assembly for use by 32-bit COM applications, and using the 64-bit of RegAsm.exe registers the assembly for use by 64-bit COM applications. Depending on your needs, you need to select the proper version of RegAsm.exe, or even use them both (on a 64-bit system, it is always safe to do so).
See Also