Hi All,
I am trying to run the code given in the wiki for making a data call in S60 3rd edition devices. But the problem is when it executesIt just quits the program with out giving an error. Following is the full code snippet.Code:iLine.Open(iPhone, lineInfo.iName);
When I checked the value of "FoundLine" it is True.Code:RCall iCall; RLine iLine; RTelServer::TPhoneInfo phoneInfo; RTelServer iServer; TInt iNumberLines; RPhone iPhone; RPhone::TLineInfo lineInfo; iServer.Connect(); if (iServer.LoadPhoneModule(_L("phonetsy")) != KErrNone) { return; } iServer.GetPhoneInfo(0, phoneInfo); iPhone.Open(iServer, phoneInfo.iName); iPhone.EnumerateLines(iNumberLines); for (TInt a = 0; !FoundLine && a < iNumberLines; a++) { iPhone.GetLineInfo(a, lineInfo); if (lineInfo.iLineCapsFlags & RLine::KCapsData) FoundLine = ETrue; } iLine.Open(iPhone, lineInfo.iName);
What could be the reason for this ?
Regards,
Primal






