Ignore:
Timestamp:
11/25/12 14:01:01 (12 years ago)
Author:
tbretz
Message:
Updated to v20r4
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/src/examples/test_server.cxx

    r12757 r14698  
    5757public :
    5858        CmndServ() : DimCommand("TEST/CMND","C"),
    59                                  servstr("TEST/STRVAL","empty") {};
     59                                 servstr("TEST/STRVAL",(char *)"empty") {};
    6060/*
    6161        void handleIt()
     
    8888
    8989        abc = new DimService("TEST/INTVAL_CONST",(int &)ival);
     90        if(abc){}
    9091}
    9192
     
    9596
    9697        abc = new DimService("TEST/STRINGVAL_CONST",(char *)s1.c_str());
     98        if(abc){}
    9799}
    98100
     
    136138
    137139        DimServer::start("TEST");
    138         extraDns = DimUtil::getEnvVar("EXTRA_DNS_NODE");
     140        extraDns = DimUtil::getEnvVar((char *)"EXTRA_DNS_NODE");
    139141        if(extraDns)
    140                 newDns = new DimServerDns(extraDns, 0, "new_TEST");
     142                newDns = new DimServerDns(extraDns, 0, (char *)"new_TEST");
    141143
    142144/*
     
    163165        CmndServ cmdsvr;
    164166
    165         testServ = new ServWithHandler("MY_NEW_TEST_SERVICE_WITH_HANDLER");
     167        testServ = new ServWithHandler((char *)"MY_NEW_TEST_SERVICE_WITH_HANDLER");
     168        if(testServ){}
    166169
    167170//      farr[0] = 1.2;
Note: See TracChangeset for help on using the changeset viewer.