Click here to get back home

How to ActiveSync Status using Pocket PC 2003 SDK

 HomeNewsGroups | Search

get this group's latest topics as an RSS feed  microsoft.public.pocketpc.activesync - MS ActiveSync software for your PDA discussed here

Subject Author Date
How to ActiveSync Status using Pocket PC 2003 SDK abusufyanqazi 05-08-2009
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by abusufyanqazi on May 8, 2009, 1:27 am
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
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.





If you were  Registered and logged in, you could reply and use other advanced thread options

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

1-Script XML SitemapXML Sitemap
Privacy Policy