View Full Version : EMS Extension for Pocket Outlook
Khashim
7th April 2005, 09:39 PM
Hey guys,
I was just wondering if anybody knows how to and, if possible, can create an extension for Pocket Outlook for EMS and vCard support. I was looking this up, and found this link on the Microsoft website.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apippc/html/ppc__mdref_enabling_enhanced_messaging_service_ems _processing_.asp
It seems that you can register an extension to enable EMS support in Pocket Outlook(much like MMS).
What further makes me think it is possible is the other day I found a vCard app on one of the forums that allows the Pocket PC to accept vCards when sent from other phones. However, the problem with that app is that it works independent of Pocket Outlook and saves the vCard in My Documents and not as an attachment.
Thanks,
Khashim
aladdin1001
9th April 2005, 03:42 PM
that's some interesting research. you could be on to something there mate. anyone else can shed more light on this? cheers
Khashim
29th April 2005, 08:31 PM
Can anybody offer more insight on this problem?
IMate->WM2k5
29th April 2005, 09:59 PM
Can anybody offer more insight on this problem?
EMS Rule Client and Custom Read Form
Sample Overview
Requirements and Dependencies
Topics
Building the Sample
Running the Sample
Notes
Sample Overview
This sample demonstrates how to implement a Rule Client to capture and process SMS/EMS, process multipart EMS, and implement a custom read form to display the EMS in the Inbox application.
Requirements and Dependencies
The sample will run on both Pocket PC and SmartPhone. It requires only standard headers and libraries, such as cemapi, commctrl, coredll, etc.
Topics
Implementing a Rule Client
Processing EMS
Custom Forms
Building the Sample
Build the Rule Client (SDKEMSViewerRuleClient.dll) and the custom form (EMSViewerForm.dll). The following registry keys need to be set to enable the rule client, custom form, and EMS processing by the router. A reboot is required if the router has previously received any SMS.
Rule Client:
[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]
@="SDKEMSViewerRuleClient.dll"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SM S\Rules]
"{7D0E1A87-734C-4d46-B715-327A8884D38B}" = DWORD : 1
Enables EMS processing, off by default:
[HKEY_CURRENT_USER\Software\Microsoft\SMS\TextShare d]
“EMSHandlerInstalled” = DWORD : 1
Registers the custom read form with Inbox:
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]
"DLL" = "EMSViewerForm.dll"
"GlyphInfo" = HEX : 20, 00, 00, 00, 64, 00, 00, 00, 64, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 03, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 00
[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]
"IPM.SMStext.SDKEMS" = DWORD : 1
Running the Sample
Once the Rule Client and Custom Form are installed, you should be able to receive EMS messages on the device. They will be processed by the Rule Client and available for viewing in the SMS account in Inbox. The only supported EMS IEIs are pictures. The normal SMS user data (text) is also processed.
Notes
Supported IEIs - Referenced from 3GPP TS 23.040, V4.3.0
0x10 = Large Picture (32x32)
0x11 = Small Picture (16x16)
0x12 = Variable Picture
Additional IEIs should be ignored by the Rule Client, but just stick to the pictures.
Khashim
30th April 2005, 12:00 AM
Hi,
Thanks a lot, but this does not seem to be working. I created an installation CAB and tried installing it. I then rebooted. But I still cannot receive an EMS. Any ideas why?
Thanks,
Khashim
alkandery75
30th April 2005, 01:59 PM
I'm not sure, but do not you need EMSReceive.exe to be started while booting "/Windows/Startup" the PPC... It is the same as vCard Receiving CAB attached...
Khashim
30th April 2005, 02:27 PM
Well this is a bit different than vCard. This is an actual extension to the SMS ability on Pocket PCs. Do you actually know of an EMSRecieve.exe?
By the way.....has anyone been able to get the extension to work?
alkandery75
30th April 2005, 03:32 PM
I test it and it is not working 100% :( ... It seems that the device recognize the msg :P but it could not read it :? , because the device switched on with backlight on too... But the content of the msg not there in the inbox... Keep trying and I'm sure you will get it work soon...
chriswo
30th April 2005, 04:26 PM
i haven't tested it but the behaviour of the device lights up when an EMS comes in is normal - even before using installing these dlls. they just don't get processed.
IMate->WM2k5
30th April 2005, 04:46 PM
I'm using Windows Mobile 2005 and the Inbox service is different from that used on usual Windows Mobile2003(SE), so I can't test this.
Try to use attached.
PS: PLEASE READ REGISTRY INSTALLATION INSTRUCTIONS!!! ALL FILES MUST BE COPIED TO "\WINDOWS" FOLDER
[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]
@="EMSRuleClient.dll"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SM S\Rules]
"{7D0E1A87-734C-4d46-B715-327A8884D38B}" = DWORD : 1
Enables EMS processing, off by default:
[HKEY_CURRENT_USER\Software\Microsoft\SMS\TextShare d]
“EMSHandlerInstalled” = DWORD : 1
Registers the custom read form with Inbox:
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]
"DLL" = "EMSCustomForm.dll"
"GlyphInfo" = HEX : 20, 00, 00, 00, 64, 00, 00, 00, 64, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 03, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 00
[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]
"IPM.SMStext.SDKEMS" = DWORD : 1 [/code]
@ - stands for Default value, which is for instance:
[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]
@=555
means
HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses = 555
and pls make note of this:
[code]Supported IEIs - Referenced from 3GPP TS 23.040, V4.3.0
0x10 = Large Picture (32x32)
0x11 = Small Picture (16x16)
0x12 = Variable Picture
chriswo
30th April 2005, 05:19 PM
I did change the dll file names in the registry to EMSCustomForm & EMSRuleClient but it seems not working in WM2003SE. :(
IMate->WM2k5
30th April 2005, 05:40 PM
I did change the dll file names in the registry to EMSCustomForm & EMSRuleClient but it seems not working in WM2003SE. :(
Just looked through the headers of code and found some probable bugs... just make these renames and registry changes...
1) EMSCustomForm.dll -> EMSViewerForm.dll
2) EMSRuleClient.dll -> SDKEMSViewerRuleClient.dll
So, the corresponding changes in registry will be:
[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]
@="SDKEMSViewerRuleClient.dll"
and
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]
"DLL" = "EMSViewerForm.dll"
Good Luck!
chriswo
30th April 2005, 05:48 PM
I did change the dll file names in the registry to EMSCustomForm & EMSRuleClient but it seems not working in WM2003SE. :(
Just looked through the headers of code and found some probable bugs... just make these renames and registry changes...
1) EMSCustomForm.dll -> EMSViewerForm.dll
2) EMSRuleClient.dll -> SDKEMSViewerRuleClient.dll
So, the corresponding changes in registry will be:
[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]
@="SDKEMSViewerRuleClient.dll"
and
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]
"DLL" = "EMSViewerForm.dll"
Good Luck!
As the filenames are EMSRuleClient & EMSCustomForm.dll, the registry followed as well. It doesn't work. Do I need to use any tools to register this 2 DLL files?
IMate->WM2k5
30th April 2005, 05:58 PM
As the filenames are EMSRuleClient & EMSCustomForm.dll, the registry followed as well. It doesn't work. Do I need to use any tools to register this 2 DLL files?
No, you don't need to use any tools because you registered these DLLs manually in registry.
Rename of "EMSCustomForm.dll" to "EMSViewerForm.dll" and "EMSRuleClient.dll" to "SDKEMSViewerRuleClient.dll" is really necessary (with corresponding registry changes). And restart is recommended.
Cheers
Khashim
30th April 2005, 06:25 PM
I had already renamed the files, and I just tried using the new files uploaded. They still don't work. There must be something we're missing.
chriswo
30th April 2005, 06:59 PM
changed it and rebooted but same thing, it didn't handle. the device lights up and does nothing. :(
Khashim
2nd May 2005, 05:42 PM
Hey,
Has anyone been able to get the extensions to work? Or can anyone provide more information?
mamaich
3rd May 2005, 12:37 AM
These DLLs would not work. They are compiled incorrectly - they don't export any symbols, so OS cannot use them.
IMate->WM2k5. Where have you gon that info/source code? I cannot find it on MSDN.
Khashim
4th May 2005, 11:51 PM
Does anybody know where to get that source code from?
IMate->WM2k5 where are you? :P
Khashim
8th May 2005, 05:34 PM
.....Does anyone have the source code?
IMate->WM2k5
9th May 2005, 05:15 PM
These DLLs would not work. They are compiled incorrectly - they don't export any symbols, so OS cannot use them.
IMate->WM2k5. Where have you gon that info/source code? I cannot find it on MSDN.
The code does not export anything. It interacts through the delegates (LibMain listens for the messages and processes them).
Check out your EVC++ Installation - \PPC_SDK\Samples\Win32\Customform
Cheers!
Khashim
10th May 2005, 04:10 PM
Ok, this is a zipped folder of the EMS source code from the PPC2003 SDK. Mamaich, or anyone else for that matter; can you try compiling and testing it?
PapaDocta
10th May 2005, 04:35 PM
i wish that mamaich can make it work.... yet i believe he can :)
Khashim
10th May 2005, 05:28 PM
Mamaich is a genius.....I'm quite sure he can figure this out.
mamaich
11th May 2005, 03:00 AM
Here are the compiled DLLs that export all necessary symbols. I have not tested these files.
Khashim
11th May 2005, 10:04 AM
Hey mamaich,
The dlls don't seem to be working. I tried creating an installer cab, but when I added the EMS Form (I believe; it was one of them) dll, it said it was a self-registering dll but it did not export the DLLRegister function. Do you think that's the problem with these dlls?
Thanks
Khashim
16th May 2005, 02:05 PM
Hey mamaich,
can you shed any more light on the problem?
Khashim
1st June 2005, 08:31 PM
mamaich.........where have you gone?
turt
9th April 2006, 06:45 PM
Hello, is it possible to receive EMS with WM5?
PapaDocta
10th April 2006, 11:18 AM
Nope.....
mrbubs
16th August 2007, 02:30 AM
It works fine except when i go into my messages and click "new", the button lights up and stays lit but does nothing. If i click it again it's not lit anymore. I have to go in through contacts and select to send a message that way. Is anyone else experiencing a similar problem?
rookery
15th January 2008, 10:04 AM
did anyone receive a EMS successfully ?
dhruva
4th January 2010, 11:00 PM
Anone got success in sendind & receiving Ems till now in window mobile device
Dhruva
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.