Compare and access from using Decriptor Array
| Fri, 2007-01-19 09:44 | |
|
Hi Descriptor Gurus, I have a problem 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... Tushar Bhattacharyya |
|






Forum posts: 45
It seems nobody ready to answer my problem. Is it too tough working with Descriptor Arrays?
Please give me some clue at least to this problem. I am stuck
Any reply would be greatly appreciated.
Thank you for your time.
Thanking you,
Tushar.
Tushar Bhattacharyya
Forum posts: 1242
Please post the relevant portion of the .h and the .cpp file.
René Brunner
Forum posts: 45
Thank you for ur reply. I have solved my problem at last
Thank you again.
Regards,
Tushar
Tushar Bhattacharyya