问题
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