All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - ASAutoRun (ActiveSync auto launch)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 07 Nov 2003 :  17:23:15  Show Profile  Email Poster
ASAutoRun.exe


This simple application demonstrates how to automatically run the device-side piece of ActiveSync (repllog.exe) when a serial cable is connected to the device.

The serial port used must support the DCD (RLSD) line. This example was written for and tested on the BitsyX, but should work on most ADS systems.

Key APIs Used

CreateFile,
SetCommMask,
WaitCommEvent,
GetCommModemStatus,
CloseHandle,
RegOpenKeyEx,
RegSetValueEx,
RegCloseKey,
CeEventHasOccurred
Lines of Code: 69


Source Download
Rev 1 - Nov 7, 2003 (5k zip).


HBPayne

45 Posts

Posted - 01 Mar 2006 :  15:21:46  Show Profile  Email Poster
I'm not sure why nobody noticed until now but the code says:

"ADSAutorun is a utility to allow a user to automatically run an application when an ATA card is inserted into an ADS device."

I was interested with auto start of ActiveSync.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000