access right with OPC Client run as a windows service

拟墨画扇 提交于 2020-01-17 03:20:32

问题


I write a OPC client process in MFC, and everything is OK when I run it directly in VS2010. But when I install it as a windows services, problem comes. I still can connect to OPC Server, but after connected I check the status of the OPCServer with IOPCServer::GetStatus(), and it returns false! Is there something I need to watch out when I install the process as a windwos service?Or some settings of the OS need to set? (My OS is Win7)

来源:https://stackoverflow.com/questions/19908376/access-right-with-opc-client-run-as-a-windows-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!