Appreciate the responses.
Following are the specifics:
- IDE generates 5 errors related, essentially, with the non-transferability/usage of:
a) ‘bLocStr’ (defined in WrUAppUi.cpp) being referred to in MTMSExampleEngine.cpp.
defined here...
Code:
File: WrUAppUi.cpp
CWrUAppUi::HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* /*aArg3*/)
{
switch (aEvent)
...
...
TBuf16<128> bLocStr;
...
used here...
Code:
File: CMtmsExampleEngine.cpp
void CMtmsExampleEngine::CreateDraftSMSL(const TDesC& aAddress)
{
...
...
body.InsertL(0, bLocStr);
...
b) ‘address’ (defined, & used, earlier in the same class) being referred to in HandleSessionEventL() of WrUAppUi.cpp
defined here...
Code:
File: WrUAppUi.cpp
void CWrUAppUi::HandleCommandL(TInt aCommand)
{
...
...
TBuf<30> address;
GetNumber(address);
iEngine->CreateDraftSMSL(address);
...
used here...
Code:
File: WrUAppUi.cpp
void CWrUAppUi::HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* /*aArg3*/)
{
switch (aEvent)
...
...
iEngine->CreateDraftNewSMSL(address);
...
Would appreciate a prompt response.
Best,
wirefree101