Jump to content

Recommended Posts

Posted

I have tried the example from the SDK (mapirule), but it did not work.

I never made a COM object, so that is why I need a little help with the steps required. From what I have seen, the steps are: make a class that implements the IMailRuleClient interface, put it in a dll, register the dll, make the registry key in HKEY.../Inbox/.../Rules and that's it.

There are probably lots of small things that I don`t know about, but this is some that I think of and I need some opinions:

- the mapirule example dll did not exported the methods of the class that implemented IMailRuleClient,only DllRegister and DllUnregister methods. Can that be a reason why it did not work?

- I did not have regsvr32 on my phone, so I manually created 2 keys in th registry: one with the CLSID in HKEY.../CLSID and one in HKEY.../Inbox/.../Rules.. Is that enough to register the dll ?

- I looked at the processes running, and of course that none used the mapirule.dll So I developed my own application that used the dll (only those methods exported: DllRegister and DllUnregister). So,in order to use the dll, do I need an application, or the IMailRuleClient object is created when a SMS arives?

Thank you for your time...

Guest statscat
Posted

Hiya,

thats a priviledged api so you will need to make sure the code is signed.

Go to Project -> settings and scroll to the very end tab and select the boxes. If you do not have any certificates you will need to use the tool calls spdps (its in the tools folder do a search for spdps.exe to find it).

You can use spdps to provision the device and the emulator with your test development server. The dll etc should ahve registered itself though without signing (its the intercept that didn't work)

Posted

thanks.... that did the trick!!!

but what about the "flash" SMS's - is there a way to catch them ?

Posted

Does anybody know why with one SIM it works, but when changing the SIM it-s not working anymore???

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.