Hi all,

i am using 'Microsoft.WindowsMobile.PocketOutlook.MessageInterception' class
to intercept SMS. works fine in my small UI application which continuously
intercepts sms. the problem is once i send the sms using
'Microsoft.WindowsMobile.PocketOutlook.SendSms' to send an SMS from the same
ui application where we intercept sms then no sms arrives. and once i close
the interception application then sms arrives.
what could be the problem?

one more thing ... i am using this in Germany. will this sending and
catching incoming sms works in Korean Mobile phone network?
regards,
rnv

Re: SMS Interception problem by Fabien

Fabien
Thu Oct 19 06:19:06 CDT 2006

Hi,

It works fine for me in all my application, the main Form must always
be opened, check this few line of code :

// Member variable of your class
// SMS interception
private MessageInterceptor sms;

// In the OnLoad method
sms =3D new MessageInterceptor();
sms.InterceptionAction =3D InterceptionAction.NotifyAndDelete;
sms.MessageReceived +=3D new
MessageInterceptorEventHandler(sms_MessageReceived);

BR


Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/




rnv a =E9crit :

> Hi all,
>
> i am using 'Microsoft.WindowsMobile.PocketOutlook.MessageInterception' cl=
ass
> to intercept SMS. works fine in my small UI application which continuously
> intercepts sms. the problem is once i send the sms using
> 'Microsoft.WindowsMobile.PocketOutlook.SendSms' to send an SMS from the s=
ame
> ui application where we intercept sms then no sms arrives. and once i clo=
se
> the interception application then sms arrives.
> what could be the problem?
>
> one more thing ... i am using this in Germany. will this sending and
> catching incoming sms works in Korean Mobile phone network?
> regards,
> rnv