Login  •  Register


How can I get the file of ServerConfig.ini for uasdkcpp

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

How can I get the file of ServerConfig.ini for uasdkcpp

Postby qingmeng » 05 Jun 2019, 05:52

Hi
I just used the C++ SDK to create one server.
And I can do this successfully by load the xml configuration.
But I want to test this by the ini file. But I did not find this file with the source.
So how can I get this ServerConfig.ini file.
========
#if SUPPORT_XML_PARSER
sConfigFileName += "/ServerConfig.xml";
#else
sConfigFileName += "/ServerConfig.ini";
#endif

OpcServer* pServer = new OpcServer;
pServer->setServerConfig(sConfigFileName, szAppPath);

thanks,
qingmeng
Full Member
Full Member
 
Posts: 7
Joined: 21 Nov 2018, 11:05

Re: How can I get the file of ServerConfig.ini for uasdkcpp

Postby Support Team » 15 Aug 2019, 16:09

Hello,

why are you asking Cpp question in AnsiC SDK forum?
this is considered of topic.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2422
Joined: 18 Mar 2011, 15:09


Return to ANSI C based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests