I'm trying to figure out how to receive, read and reply to an SMS automatically. I'm playing with the SMSSEND example that came with the SDK and I'm able to receive a message and then open the reply window automatically when the message is received. The problem I'm having is copying the original message information into the reply so I can send it back. Below is a snippet of code where I'm trying to copy and reply but it's bombing out on the CopyL portion giving me an MSV Error 61 and I have no idea what to do. I should also mention I'm real rusty with C++.
I've played around with two different ways to COPY but they both fail at runtime. They both compile just fine though. Thanks for any help you can give!
TRequestStatus iStatus;
TMsvPartList aPartlist( KMsvMessagePartRecipient );
TMsvId newEntryId;
//serverEntry->CopyL(clientMtm->Entry().EntryId(), entryId, iStatus);
//serverEntry->CopyL(*iSelection, newEntryId, iStatus);
iOperation = ui->ReplyL(newEntryId, aPartlist, iStatus);



