![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I need to stop the activesync in some sections of my projects. Any clue on how to do it? Thanks. |
#3
| |||
| |||
|
|
On Windows Mobile 5.0 and above you can call the ActiveSyncStart and ActiveSyncStop methods in aygshell.dll e.g. [DllImport("aygshell.dll", SetLastError = true)] internal static extern int ActiveSyncStart(); [DllImport("aygshell.dll", SetLastError = true)] internal static extern int ActiveSyncStop(); See the SDK documentation for a description of these functions. Peter -- Peter Foot Microsoft Device Application Development MVP www.peterfoot.net | www.inthehand.com In The Hand Ltd - .NET Solutions for Mobility "Empi" <mpeleg (AT) softstart (DOT) co.il> wrote in message news:OHQ5V5$AIHA.4584 (AT) TK2MSFTNGP03 (DOT) phx.gbl... Hi, I need to stop the activesync in some sections of my projects. Any clue on how to do it? Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |