Click here to get back home

Custom transports for PPC2005 Inbox.

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Custom transports for PPC2005 Inbox. Denis 09-21-2005
`--> RE: Custom transports for PPC2005 Inbox. Julianø›¥‰©ÝŠÇ.²È¨žÉ¢rº,¡û\¢10-06-2005
Get Chitika Premium
Posted by Denis on September 21, 2005, 5:48 am
Please log in for more thread options
Hello Everybody!

Does anyone know how to make the Inbox (PPC2005) aware of custom
transports?
We try alot.
First I start with "TransportDemo" samples from SDK. This sample shuold
provide ready to extend transport without any fucntionality.

There 2 steps to create new account with custom transport dll.
1) do create dll by it self. (in sample source code everything seems to
be OK)
2) do registrate it with Messsaging application:
- add requited keys to regitery
This should be trival operation, not so easy one. Accordinly to
this link from SDK 5.0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5conmessagestores.asp
you can get that you should put all under

HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Transports\TransportName
But Branch "Transports" do not exist even in PPC2003 and
changed with "Svc"
Second one of the key "UserCanCreate" should be changed with
"UserCannotCreate"
At least example do create Keys and Branches with normal names.
- restart Messaging app
- start "new accound wizard"
- do create new account, and as Provider choose custom transport
dll, in our case it is "TransportDemo".

That all. After it you should be able to find new account under
Messaging accounts. But it stays invisible you are complitelly unable
to access it. But you able to query that account exist, by adding new
accunt and providing to wizard old account name, in this case you will
get error, that account with this name already exist.

It seems that some problem with registery setings. We play alot, but
unsuccessfully.

And accordingly to logs, our dll was not touched system at all. We add
alot of debug info into dll, and even DllMain was not started.

Does any one know some tips here??
Or why account do not plan to be visible?

Thanks, Denis.



Posted by Julianø›¥‰©ÝŠÇ.²È¨žÉ¢rº,¡û\¢ on October 6, 2005, 3:01 am
Please log in for more thread options
Hi Dennis.

I have exactly the same problem. I've installed the TransportDemo cab and
gone through the E-mail Setup wizard. The TransportDemo appears in the
Account-type combo-box but the account fails to be displayed by the Inbox
application.

I have written a MAPI browser which shows all message stores, folders,
messages and properties, etc... The MAPI browser shows that the
TransportDemo message store, together with the 5 default folders have all
been created correctly but the account still fails to be dispayed by the
Inbox App.

I've come accross similar problems before when new OS versions come out and
it's usually some properties missing on the message store object. I'll have
a look to see if this is the same problem and let you know if I find a
solution.

In the meantime, if you've already fixed this I would be grateful to see
your solution in a reply.

Many Thanks

Julian


Similar ThreadsPosted
How to create a shortcut to the inbox fo message and a shortcut to the inbox of mail? July 20, 2008, 11:27 pm
Inbox June 14, 2005, 4:17 am
Regarding INBOX August 2, 2005, 10:15 pm
inbox Problem July 19, 2005, 10:43 pm
Inbox Menu Extensibility June 14, 2006, 7:38 pm
outlook inbox problem July 3, 2006, 2:56 am
How to access the inbox programmatically? December 22, 2006, 9:27 am
Custom Setup.dll July 6, 2005, 9:26 pm
launch custom.cpl.xml February 14, 2007, 4:13 pm
Custom ring tone June 5, 2005, 10:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap