Re: Iniating a connection to ActiveSync (from the device and from the PC) by Chris
Chris
Mon Jul 12 14:20:59 CDT 2004
From the PC side no. The device is running repllog.exe on an interrupt,
which makes the connection.
--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com
"Trevor" <trevor@spam.com> wrote in message
news:ejMxZ$DaEHA.3988@tk2msftngp13.phx.gbl...
> darkhelmetGT wrote:
> > Thanks for the info
> >
> > I also need to be able to reset a device while it's in the cradle,
> > then reconnect to it after the soft-reset. This needs to be automatic,
> > without human intervention.
> >
> > When I programatically kick off a soft-reset, I lose the connection to
> > ActiveSync. It seems that unless I physically remove and put the
> > device back in the cradle, I cannot reconnect to ActiveSync.
> >
> > I've tried killing repllog and disconnecting all active RAS
> > connections before the restart, with no luck.
> >
> > Any suggestions? Is there a hack so I can make my CE device think that
> > it's been put back in the cradle?
> >
> > Thanks!
> > Tim
> >
> > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:<#k6mTqTZEHA.136@TK2MSFTNGP11.phx.gbl>...
> >
> >>run repllog.exe
> >>
> >>--
> >>Chris Tacke, eMVP
> >>Co-Founder and Advisory Board Member
> >>www.OpenNETCF.org
> >>---
> >>---
> >>Principal Partner
> >>OpenNETCF Consulting
> >>www.OpenNETCF.com
> >>
> >>
> >>
> >>"darkhelmetGT" <darkhelmetgt@gmail.com> wrote in message
> >>news:1e93d81.0407081416.4a30dd80@posting.google.com...
> >>
> >>>Hi
> >>>Is it possible to force a connection in code (I'm using C++) with
> >>>ActiveSync from the CE device? I need my device to be connected all
> >>>the time, but sometimes the ActiveSync connection cuts out on me. Or,
> >>>if I can't do that, can I somehow force the PC to connect with the
> >>>device (I don't think this is possible since ActiveSync appears to be
> >>>a client-initiated system)
> >>>
> >>>I've done some research on the topic with no luck, and I couldn't find
> >>>anything at MSDN either.
> >>>
> >>>Thanks!
> >>>Tim
>
> Tim,
>
> One such hack is to run "/Windows/runrepllog.exe". If this file is
> executed while there is no ActiveSync session in progress then the
> "Connect To" window from ActiveSync will be started. HTH.