Hi all,
Have anyone tried the Receiving SMS example from the MSDN library
There seems to be a problem...
It seems that I can deploy it to my PPC but an error of MissingMethodException at the function call to DllRegisterServer() will always occur.
Need help urgently!!!

Receiving SMS example
swarmt
Thanks for the link. Yes it can do what I want, but it is in embedded visual C++ which is too profound to me. And i also have trouble trying to build the mapiruledll. Is it possible to convert it to vb.net instead
C#newbie
Sean Buck
according to Maarten's article(the link given above), I can successfully deploy it using the pcoket pc 2003 emulator, but there is a problem when I deploy it to my pocket PC.
These are the steps that I followed:
1) Build the mapirule successfully
2) Change the dll in the CaptureSMS program to the dll that is found in the emulatorRel
3) Deploy to pocket PC
But this is the error I get: An unhandled exception of type 'System.MissingMethodException' occurred in CaptureSMS.exe
And this line of code is highlighted: if (DllRegisterServer() != 0)
Can you tell me what I have done wrong or what steps I have missed
Java Programmer
Are you sure mapirule.dll is getting deployed to the device also The DllRegisterServer API PInvokes to that dll which is a native dll also included in the sample.
LTrue
How did you fix the "MissingMethodException" error you were getting I am having exactly the same problem - the emulator works, but the actual device throws an exception.
nikos_22
http://msdn.microsoft.com/mobility/default.aspx pull=/library/en-us/dnnetcomp/html/receivingsmsmessages.asp
Cheers!
banjaxed
Thanks!
Serena3838
Hi Vnewbie
U asked for a converted app for VB but then said got tat exmple already, wer did u get it from can u pls help me... cz i even need the same in VB...
Tanx in advance...
mahmoodilyas
Arjang Fahim
Nilesh Hirpara
Any examples are welcomed!
JCS
Hi all,
I've found out that this example actually shows you how to send messages, and it also has the capability to read received SMS. But it is not shown, Does anyone know how to do it
This is the link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/sms_apps2.asp
Dean Ryan
Hi guys,
I'm able to do the example already. Thanks for your patience and help!
csgear
http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/mob5lrfIMailRuleClient.asp
say that you need to write a COM object that implements IMailRuleClient and register the COM object and also add another registry entry on the device.
The issue is that it has only one method ProcessMessage that you use to apparently move messages around. But what you could do is post a window message whenever this happens and you could have your managed app listen for it.