Click here to get back home

How to ActiveSync Status using Pocket PC 2003 SDK

 HomeNewsGroups | Search

microsoft.public.pocketpc.activesync - MS ActiveSync software for your PDA discussed here 

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
How to ActiveSync Status using Pocket PC 2003 SDK abusufyanqazi 05-08-2009
Posted by abusufyanqazi on May 8, 2009, 1:27 am
Please log in for more thread options
Hi All,
I am using an iPAQ PDA device and Pocket PC 2003 SDK to develop a
module which will sense and report ActiveSyncStatus i,e; whether its
connected or not. I am able to acheive this by checking the property:
'Microsoft.WindowsMobile.Status.SystemState.ActiveSyncStatus'
but just for Windows Mobile 5.0 Pocket PC Device, which actually does
not work for Pocket PC 2003 target PDA and reports some dll dependency
exception. :(

Thanking in advance for ny ideas or help.

Posted by Paul G. Tobey [eMVP] on May 11, 2009, 12:37 pm
Please log in for more thread options
You want to detect this *on the device*, right? You can try resolving the
host name "ppp_peer" from a program running on the device using
gethostbyname() from the WinSock API. If it resolves, there's a very high
probability that the connection is active (99%+). Seems like that should be
enough. Note that the best place to ask Windows Mobile-based development
questions is not the ActiveSync group, but
microsoft.public.pocketpc.developer. In fact, I think that searching the
archives of that newsgroup with GoogleGroups would get you an answer faster
than waiting for someone to respond to a new question...

Paul T.

show/hide quoted text



Similar ThreadsPosted
HTTP status code: [409]:Cannot sync pocket pc Outlook - says it has but no new emails transferred over January 31, 2007, 12:38 pm
pocket pc and outlook pro 2003 May 26, 2007, 8:47 pm
WMDC and Pocket PC 2003 June 3, 2007, 5:14 pm
WMDC 6.1 and Pocket PC 2003 June 7, 2007, 2:11 am
Sync Exchange 2003 GAL with Pocket PC August 9, 2006, 10:15 am
Active Sync for Pocket PC 2003 August 19, 2007, 5:44 pm
bios Microsoft 2003 Pocket PC h3970 July 31, 2006, 10:56 am
i'm trying to make a list of RAS connections on a pocket pc 2003 d September 28, 2007, 12:11 am
Pocket PC 2003 Won't Connect with WMDC 6.1 via Bluetooth May 2, 2009, 9:39 am
Retrieving status of ActiveSync August 11, 2005, 8:48 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy