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

Moderator: uasdkc

Post Reply
qingmeng
Full Member
Full Member
Posts: 8
Joined: 21 Nov 2018, 11:05

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

Post by qingmeng »

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,

User avatar
Support Team
Hero Member
Hero Member
Posts: 3056
Joined: 18 Mar 2011, 15:09

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

Post by Support Team »

Hello,

why are you asking Cpp question in AnsiC SDK forum?
this is considered of topic.
Best regards
Unified Automation Support Team

Post Reply