This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Triggering an Upload when ActiveSync syncs


Triggering an Upload when ActiveSync syncs

Postby Dave H » Jun 13, 2003 @ 3:19pm

I'm writing a C++ program which uses Wininet, (InternetOpen and all that stuff). Currently it uploads/downloads files to a server in response to a button press.

I'd quite like to automate this after an ActiveSync, i.e. when the user places the Pocket PC in the cradle, it starts an upload/download.

One way we can think of doing this is to poll the IP address(es) of the Pocket PC, and look for something which isn't 127.0.0.1. This may or may not be a bit messy.

Another way I'd like to do it is to receive a message when ActiveSync connects. Are there any messages I can hook on?

Are there also any messages which might tell me when GPRS has connected?
Dave H.
Lead Programmer (Repton PPC/7650)
[url=http://www.handango.com/PlatformProductDetail.jsp?productId=43741]
Buy Repton Online here!
[/url]
User avatar
Dave H
pm Member
 
Posts: 164
Joined: Oct 3, 2002 @ 5:01pm


Return to Windows Mobile


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron