OPC UA Server as Windows Service

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
RalfC
Jr. Member
Jr. Member
Posts: 2
Joined: 08 Apr 2020, 10:32

OPC UA Server as Windows Service

Post 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.

Post Reply