예제 #1
0
std::string ecUtils::UnicodeToStdStr(const wxChar* str)
{
    std::string stdstr;
    char *psz;
    UnicodeToCStr(str,psz);
    stdstr=std::string(psz);
    delete psz;
    return stdstr;
}
예제 #2
0
파일: CTUtils.cpp 프로젝트: Robertysc/ecos
std::string CUtils::UnicodeToStdStr(LPCTSTR str)
{
    std::string stdstr;
    char *psz;
    UnicodeToCStr(str,psz);
    stdstr=std::string(psz);
    delete psz;
    return stdstr;
}