Grupy dyskusyjne Google nie obsługują już nowych postów ani subskrypcji z Usenetu. Treści historyczne nadal będą dostępne.

Custom transports for PPC2005 Inbox.

0 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Denis

nieprzeczytany,
21 wrz 2005, 08:48:2721.09.2005
do
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.

Nowe wiadomości: 0