r_z_aret
Sat Apr 29 13:31:08 CDT 2006
Beverly Howard has an article about ActiveSync and RAPI that might
provide hints for controlling ActiveSync:
http://bevhoward.com/ASync.htm#RAPI
On Fri, 28 Apr 2006 17:57:33 -0400, r_z_aret@pen_fact.com wrote:
>On 27 Apr 2006 22:02:53 -0700, "Nash" <jeevs007@gmail.com> wrote:
>
>>Hi,
>> I am having a dialog based application. When i connect a pocetpc to
>>the system where i have my application running it should check for some
>>files in the PocketPC if the files are not there i need to send the
>>files to pocketpc.
>> But what happens is the activesync is getting the control when i
>>connect the PocketPC and the user is able to Explore the files in
>>PocketPC. I dont want this to happen whenever the required files are
>>transfered or found in the pocketpc then only user should able to
>>explore the PocketPC.
>> So shall i kill activesync when the pocketpc is connected and use
>>RAPI to search for the files and transfer it and then start activesync?
>
>RAPI depends on the transport mechanism provided by ActiveSync. So
>you're RAPI code won't work without an ActiveSync connection.
>
>You could disable ActiveSync as soon as your code is done, but I can't
>think of a good way to reenable ActiveSync so it will work again when
>the user reconnects. I'm pretty sure RAPI provides no direct method to
>detect disconnection, and very sure you will have no way to detect
>physical disconnect. Your program could set a timer and then reenable
>ActiveSync after some delay.
>
>RAPI _will_ work with a guest connection.
>
>>
>>Any suggestions?Thanks in advance.
>
>-----------------------------------------
>To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>
>Robert E. Zaret, eMVP
>PenFact, Inc.
>20 Park Plaza, Suite 478
>Boston, MA 02116
>www.penfact.com
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com