--保存对配置文件的修改local m_objConfig=CConfigMgr();
​    local sFileFullName='d:/configmgr_test.ini';
​    local bReturn=m_objConfig:FromFile(sFileFullName)--1 保存至文件
    local bReturn=m_objConfig:ToFile('d:/configmgr_test.ini');
    if bReturn then 
        print('写入文件成功');
    else 
        print('写入文件失败');
    end
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""