全球旧事资料 分类
CAR2charTCHARtchStri
tiLe
2wcsle
tchStrCStri
gTCHAR汉字算一个字符,因此不用普通计算长度charchRt
ewchariLe
1wcstombschRt
tchStriLe
1转换成功返回为非负值retur
chRt
函数:CStri
g2char描述:将CStri
g转换为char日期:
fcharCPublicCStri
g2charCStri
gstri
tle
strGetLe
gthcharchRt
charmallocle
21sizeofcharCStri
g的长度中汉字算一个长度memsetchRt
02le
1USES_CONVERSIONstrcpyLPSTRchRt
OLE2AstrLockBufferretur
chRt
参考PocketPC上的UNICODE和ANSI字符串ByVassiliPhilippovSeptember262001杨方思歧译函数名:GetA
siStri
g描述:将CStri
g(u
icode)转换为charANSI参数:CStri
gs要转换的CStri
g返回值:返回转换结果创建日期:最后修改:charGetA
siStri
gco
stCStri
gsi
t
Size2sGetLe
gthcharpA
siStri
g
ewchar
Size1wcstombspA
siStri
gs
Size1retur
pA
siStri
gStri
gCStri
gTCHARchar之间区别和联系
fr
好听全球资料 返回顶部