Hi Descriptor Gurus,
I have a problem :icon4: using CDesC16ArratFlat.
My problem is : I would like to store phone numbers in a Descriptor array and I want to compare with each descriptor array contains with a phone number I got from CLogEvent using iEvent.Number(). and using the matching index i want to dial another number contains in the same index of another descriptor array.
But using CDesC16ArrayFlat, I am getting compile errors :-
c:\symproj\Record\Recorder\src\phoneobserver.cpp(226): error C2475: 'CDesC16Array::MdcaPoint' : forming a pointer-to-member requires explicit use of the address-of operator ('&'😉 and a qualified name
c:\symproj\Record\Recorder\src\phoneobserver.cpp(248): error C2664: 'TInt RCall:: Dial(const RCall::TTelNumberC &😉 const' : cannot convert parameter 1 from 'CDesC16Array' to 'const RCall::TTelNumberC &'
The problem is that (what I think) iEvent.Number() returns : TDesC& , A reference to a non-modifiable descriptor containing the phone number.
...and my array contains CDesC16Array descriptors.
Could anybody give me some idea please. Is this particular array is not solve my purpose? help me ...:con?
Regards,
Tushar :icon14: