Hi,
I am a new to C++ and am getting link errors when i used the following code. What header file am i missing to include? Thanks in advance.
//************************
//Code starts here
//************************
RCommServ commServer;
RComm comm;
TRequestStatus status;
User::LeaveIfError(commServer.Connect());
_LIT(KCsyName, "dataport"😉;
User::LeaveIfError(commServer.LoadCommModule(KCsyName));
TBufC<12> port(_L("DATAPORT::0"😉);
TInt ret = comm.Open(commServer,port,ECommShared);
_LIT8(KUSSDString,"AT+CUSD=1,\"*12345#\"\r\n"😉;
comm.Write(status,KUSSDString);
User::WaitForRequest(status);
User::LeaveIfError(status.Int());
User::After(10000);
comm.Close();
commServer.Close();
//**************************
//code ends here
//**************************
Regards,
Peri