Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / September 2009

Tip: Looking for answers? Try searching our database.

Start ActiveSync on Device

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Popp - 21 Sep 2009 20:49 GMT
Hello!

I'd like to start ActiveSync over infrared on my Win CE 3.0 device by code.
Manually it is just clicking on Connections -> IR-ActiveSync. How to do it
by code (I use eMbedded VB)? I've read about
CreateProcess("\windows\repllog.exe", ...), but this seems to apply to the
desktop PC; at least I couldn't find repllog.exe on my Win CE device.

Thanks, best regards
Michael
Karthikeyan - 22 Sep 2009 14:24 GMT
> Hello!
>
[quoted text clipped - 6 lines]
> Thanks, best regards
> Michael

Hi Michael,
I could find "\windows\repllog.exe" in WM 6.1 device . But not sure
about WinCE 3.0 device.

Regards,
Karthik
r_z_aret@pen_fact.com - 22 Sep 2009 20:30 GMT
>Hello!
>
[quoted text clipped - 3 lines]
>CreateProcess("\windows\repllog.exe", ...), but this seems to apply to the
>desktop PC; at least I couldn't find repllog.exe on my Win CE device.

Definitely CE, not "big" Windows. I used it starting with Windows CE
2.0. But I couldn't see it just now when I looked on my Jornada 565
(Pocket PC 2002, based on Windows CE 3.0); may be hidden when using
the File Viewer.

Here are some perhaps relevant references:

According to Steve Maillet (72 Jul 1999 contribution to thread called
"REPLLOG.EXE command line parameters " in several newsgroups, no
command line arguments are documented for repllog.exe. But see 4 Nov
03 thread called "ActiveSync and repplog.exe" in
microsoft.public.pocketpc.developer

From 26 Jan 05 contribution by Paul Yao to thread called "Disconnect
the ActiveSync" in Windows CE Dev List:
arguments for repplog
 none    => open default ras connection
 /c:        provides ConnectioID name
 /p:        provides Partner name
 /d      => disconnect
 /remote => remote sync
A response from the original poster says none of these work. Another
note in the same thread says the following works (and the original
poster confirmed):
     HWND hWnd = ::FindWindow( L"ActiveSync", NULL );
     if (hWnd)
         ::SendMessage( hWnd, WM_CLOSE, 0, 0 );

>Thanks, best regards
>Michael

-----------------------------------------
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 400
Boston, MA 02116
www.penfact.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.