Page 1 of 1

OPC UA Server as Windows Service

Posted: 08 Apr 2020, 12:01
by RalfC
I am trying to convert an OPC UA Server (executable like the server in server_sdk_tutorial)
to a windows service.

I have found the constructor

Code: Select all

OpcServer::OpcServer(int argc, char* argv[], bool bRunAsService, const UaString &sApplicationName)
that seems to provide this.

But I have no clue about how to implement/use it.
I have not found a documentation about the usage nor
any example source code for the service main.

Does anyone know how to use it ?
Sample code ?

Thanks in forward for any responds.