I found that sysAppLaunchCmdSyncNotify will not be sent to your 
app if the sync has not caused any changes to your apps Database.  So you
can not reply on this launch command unless you have a conduit
that forces a change every time you sync.

Ron

<pre>
Simple.. you need to respond to the launch code
sysAppLaunchCmdSyncNotify in your PilotMain, then you can run any code
you like. Unfortunately there is a limitation; you cannot use global
variables at this stage.

In a related question, does anyone know how I can switch out of Hotsync
to another app when responding to sysAppLaunchCmdSyncNotify? Using
SysUIAppSwitch() resets the device, SysAppLaunch() doesn't do anything.

>     my program need to detect the hotsync then disable some 
> functions. is it
> possible to receive message during hotsync even my program is 
> not runing?
> 
> Eric
> 
> 

</pre>


Reply via email to