hello friends...
i am confused with the bellow code
RPointerArray<HBufC>* iDisplaycontent = new RPointerArray<HBufC>;
HBufC* CopyText = aText.Alloc();
iDisplaycontent->Append(CopyText);
TInt x = iDisplaycontent->Count();
TBuf<8> temp;
temp.Num(x);
log.Write(temp);
if(iDisplaycontent->Count()> 2)
{
log.Write(_L("Hello World6"));
logger->DoWrite();
}
my target is whenever the execution comes to the iDisplaycontent->Append(CopyText);
line my count value should be increased ..that means the data will be appended in that location.....but the problem is whenever the data are appending onthe iDisplaycontent->Append(CopyText);
the count value always showing ONE(1) value i dont know why ?i think the new datas are overwriting the existing data ... please anyone give correct solution for it...........i want array of data should be stored in the iDisplaycontent->append(aCopyText).

Reply With Quote

