Click here to Skip to main content
15,889,556 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Problem in extracting Cell ID Pin
Joel Ivory Johnson9-Jul-09 1:43
professionalJoel Ivory Johnson9-Jul-09 1:43 
GeneralRe: Problem in extracting Cell ID Pin
Vivek Vijayan7-Sep-09 1:14
Vivek Vijayan7-Sep-09 1:14 
GeneralRe: Problem in extracting Cell ID Pin
cri_21-Oct-09 7:04
cri_21-Oct-09 7:04 
QuestionIs WPD obsolete? Pin
ochsenmeier marc7-Jul-09 6:19
ochsenmeier marc7-Jul-09 6:19 
QuestionPlease help me for sending Service Message! Pin
Le@rner5-Jul-09 21:00
Le@rner5-Jul-09 21:00 
Questionvalues for PR_MESSAGE_CLASS. Pin
Le@rner4-Jul-09 1:25
Le@rner4-Jul-09 1:25 
QuestionAny similar option to PROVIDER_SPECIFIC_MESSAGE_CLASS in CEMAPI. Pin
Le@rner4-Jul-09 0:03
Le@rner4-Jul-09 0:03 
QuestionSmsSendMessage fails. Pin
Le@rner3-Jul-09 23:59
Le@rner3-Jul-09 23:59 
Hi all ,

i m using SmsSendMessage api for sending sms but its fails.

my code is.
LPCTSTR lpszSMSC, lpszRecipient, lpszMessage;

	SMS_HANDLE smshHandle;
	SMS_ADDRESS smsaSource;
	SMS_ADDRESS smsaDestination;
	TEXT_PROVIDER_SPECIFIC_DATA tpsd;
	SMS_MESSAGE_ID smsmidMessageID;

	HRESULT hr = SmsOpen(SMS_MSGTYPE_TEXT, SMS_MODE_SEND, &smshHandle, NULL);

	if (hr != ERROR_SUCCESS) 
	{ 
	   return hr;  // never fails
	}

	
	// Create the source address
	smsaSource.smsatAddressType = SMSAT_UNKNOWN;
	_tcsncpy(smsaSource.ptsAddress, lpszSMSC, SMS_MAX_ADDRESS_LENGTH);

	// Create the destination address
	smsaDestination.smsatAddressType = SMSAT_UNKNOWN;
	_tcsncpy(smsaDestination.ptsAddress, lpszRecipient, SMS_MAX_ADDRESS_LENGTH);

	// Set up provider specific data
	DWORD sof = sizeof(TEXT_PROVIDER_SPECIFIC_DATA);
	memset(&tpsd, 0, sof);
	tpsd.dwMessageOptions = PS_MESSAGE_OPTION_NONE;
	tpsd.psMessageClass = PS_MESSAGE_CLASS1; // I also tried PS_MESSAGE_CLASS1
	tpsd.psReplaceOption = PSRO_NONE;
	    
	// send the message
	SmsSendMessage (smshHandle,&smsaSource,
			 &smsaDestination,
					NULL,
		  (PBYTE)lpszMessage, // the message
		  _tcslen(lpszMessage) * sizeof(TCHAR), // the message l;ength
			(PBYTE) &tpsd,
							 sof,    // Boling sets this to 12  tired it each way does not change anything
		  SMSDE_OPTIMAL,
	   SMS_OPTION_DELIVERY_NONE,
		 &smsmidMessageID );

SmsClose (smshHandle);


please help me for this.

thanks in advance.

To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

QuestionResize form Pin
Xmen Real 2-Jul-09 16:42
professional Xmen Real 2-Jul-09 16:42 
QuestionRead from DBF database format in any windows ce/mobile/pocket pc in .net CF Pin
scoroop2-Jul-09 5:38
scoroop2-Jul-09 5:38 
AnswerRe: Read from DBF database format in any windows ce/mobile/pocket pc in .net CF Pin
scoroop16-Jul-09 2:43
scoroop16-Jul-09 2:43 
QuestionHow can send Notification SMS to recipient? [modified] Pin
Le@rner2-Jul-09 0:58
Le@rner2-Jul-09 0:58 
Questioncombobox item background Pin
Pryzrak1-Jul-09 20:42
Pryzrak1-Jul-09 20:42 
Questionbezier curve from bezier cusps Pin
googlejumbo30-Jun-09 12:33
googlejumbo30-Jun-09 12:33 
QuestionCreate Agent exe for windows based mobile for sending sms? Pin
Le@rner27-Jun-09 1:34
Le@rner27-Jun-09 1:34 
AnswerRe: Create Agent exe for windows based mobile for sending sms? Pin
slumberparty28-Jun-09 20:43
slumberparty28-Jun-09 20:43 
QuestionIndexed Sequential Search Pin
crusade5025-Jun-09 7:36
crusade5025-Jun-09 7:36 
Questionautomated restaurant menu Pin
Felong25-Jun-09 6:19
Felong25-Jun-09 6:19 
AnswerRe: automated restaurant menu Pin
slumberparty25-Jun-09 20:58
slumberparty25-Jun-09 20:58 
QuestionAfter installing EVC4.0 with sp4 and WinCE 5.0 SDK, I can't help for imaging facilities Pin
followait24-Jun-09 1:52
followait24-Jun-09 1:52 
QuestionIs it possible to program a timer application to exact milliseconds? Pin
Colorfish23-Jun-09 7:09
Colorfish23-Jun-09 7:09 
QuestionInclude initguid.h and imaging.h in a header file incurs errors Pin
followait23-Jun-09 1:59
followait23-Jun-09 1:59 
AnswerRe: Include initguid.h and imaging.h in a header file incurs errors Pin
Joel Ivory Johnson8-Jul-09 15:29
professionalJoel Ivory Johnson8-Jul-09 15:29 
QuestionAccessing word files in WM6 Pin
cnay21-Jun-09 6:57
cnay21-Jun-09 6:57 
AnswerRe: Accessing word files in WM6 Pin
Joel Ivory Johnson13-Jul-09 2:24
professionalJoel Ivory Johnson13-Jul-09 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.