Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problem with CArrayFixSeg

0 replies · 968 views · Started 07 April 2005

Hi All,
The following code segment gives Access Violation error:

CArrayFixSeg<TText16> *yPtr;
yPtr->ExtendL() = 2315;

I have 2 doubts regarding the problem
1) Can't we create an instance of CArrayFixSeg with basic data types(In sdk documentation it's written that the template instance class need to have a default constructor)
2) Do we need to explicitly allocate memory before using member functions like ExtendL,AppendL

Thanx in advance

Regards
Chandra Prakash