摘要:
HBufC * hehe =HBufC :NewLC(1);CleanStack::Pop();hehe=hehe->ReAlloc(这里可能是文件里的数据长度等等);CleanupStack::PushL(hehe );CleanupStack::PopAndDestroy(hehe); 阅读全文
摘要:
TBuf8 aProxy8(_L8("10.0.0.172:80"));RStringF iPrxAddr = iSession.StringPool().OpenFStringL(aProxy8);CleanupClosePushL(iPrxAddr);THTTPHdrVal iPrxUsage(iSession.StringPool().StringF(HTTP::EUseProxy,RHTT... 阅读全文
摘要:
CCnvCharacterSetConverter* converter=CCnvCharacterSetConverter::NewLC(); //转码使之显示到屏幕上的时候能显示中文 if(converter->PrepareToConvertToOrFromL(KCharacterSetIdentifierGbk, iEikonEnv->FsSession())!=CCnvC... 阅读全文