1 OPC Server Example - Windows XP Setup
打开控制面板 - 性能与维护 - 管理工具 - 本地安全策略;
选择安全选项 - “网络访问:本地账户的共享和安全访问”,默认选择是“仅来宾 - 本地用户以来宾身份验证”,修改为“经典 - 本地用户以自己的身份验证”;
在server和client两个机器上都要设置该项;
2 OPC Server Example – GammaOPCSvr Client registration
To reiterate, this example assumes that boththe OPCON and the Client computer are on thesame Windows Workgroup, and logged on with the same user name and password.
Copy and then register (regsvr32.exe) thefollowing dll’s to the “Windows\System32”folder on the Client Computer
• Opc_aeps.dll
• Opcbc_ps.dll
• Opccomn_ps.dll
• Opchda.dll
• Opcproxy.dll
Create a folder called “C:\GammaOPC” on theclient computer and copy the following files tothat folder.
• GammaOPCSvrReg.exe
• GMLib.dll
• WtOPCSvr.dll
• MFC71U.dll
• MSVCR71.dll
• MSVCP71.dll
From the command line, navigate to the“C:\GammaOPC” folder and run“GammaOPCSvrReg.exe” program.