ActiveSync provider

M

Mike

Yes, I have searched google, but I don't own any stock anyway.

Can someone give me a Quick Start on developing an ActiveSync provider?

I just need something that will connect to the internet and transfer data
to/from the Pocket PC when they sync.

Can it be done in Visual Basic?
 
G

Guest

Can i develope desktop provider in C#?
Can i import the IDL files into the C# project?
 
E

Ed Kaim

You can use VB/C#/whatever to develop an app, then set a new reg value (any
name) at "HKLM\Software\Microsoft\Windows CE Services\AutoStartOnConnect"
with the path to the exe as the value. When ActiveSync receives a
connection, it'll fire up that app. There's another key for the disconnect
event as well.
 
G

Guest

Pls visit OpenNETCF.org, note OpenNETCF.Desktop.Communication.ActiveSync?

why can they do it?
 
G

Guest

I did not exactly know what you said. For implement desktop service provider,
i must implement IReplObjHandler interface. Can you tell me how to do this?
In the tutorial of COM Interop, if i want to use c# to develop an app, i
could import IDL of IReplObjHandler to my project at first, could i ?
 
C

Chris Tacke, eMVP

They can't and I know since I wrote all of that code and I've also written
providers. It's not a AS provider, it's a RAPI wrapper. It has a lot of
utility, but it doesn't detect object changes, do conflict resiolution or do
any sort of operation that would be a sync.
 
S

Sergey Bogdanov

Download "SDK for Windows Mobile 2003-based Pocket PCs". It contains the
file "cesync.h" in the directory "Windows CE Tools\wce420\POCKET PC
2003\Include". IReplObjHandler doesn't contain GUID. There are also for
this topic some links:

1. Developing the Desktop Provider
http://msdn.microsoft.com/library/d...actsy/html/ceconDevelopingDesktopProvider.asp

2. Programmer's Guide for ActiveSync
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce21/html/ActiveSync.asp



Hope this help,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
G

Guest

Thanks for all.

Now i get it well, but i write desktop provider a little, and don't find a
way to debug it. Could you tell me how to do it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top