工具函数。
截取文件名
TBuf<5> bMid;
bMid.Append(_L("//"));
TBuf<128> bName;
TBuf<256> bValue;
bValue.Append(_L("C:/Data/Mech_Local/pic/20110402162525_116.410658_39.989842_2000.jpg"));
TPtrC ptrSting(bValue);
nFind = ptrSting.Find(bMid);
while (-1 != nFind)
{
ptrSting.Set(ptrSting.Mid(nFind + 1));
nFind = ptrSting.Find(bMid);
}
bName.Append(ptrSting);
//bName:20110402162525_116.410658_39.989842_2000.jpg