Jose,
look this message : http://www.egroups.com/message/palm-dev-forum/43105
and try this code . I hope this helps.
#define MyAppLaunchBeforeReset sysAppLaunchCmdCustomBase + 300 // 33068
// code to set alarm and launch Hotsync
static void Conect(){
SetAutoStartAlarm(TimGetSeconds() + 10,MyAppLaunchBeforeReset);
AppLaunchWithCommand(sysFileCSync, sysAppLaunchCmdNormalLaunch, NULL);
}
static void LaunchMyApp ()
{
LaunchWithCommand(sysFileTApplication, 'my application creator',
sysAppLaunchCmdNormalLaunch, NULL);
}
// put this code in PilotMain
case sysAppLaunchCmdAlarmTriggered:
// Launch app
cmdEntrada = (SysAlarmTriggeredParamType *)cmdPBP;
if (cmdEntrada->ref==MyAppLaunchBeforeReset)
LaunchMyApp();
break;
regards
[] Luiz Fernando
----- Original Message -----
From: jose luis garcia <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 2:01 PM
Subject: launch Hotsync from one application.
>
> How can I launch th hotsycn from my application and When the hotsync is
> complete. it returns to the hotsync application screen where you would
click
> to 'do' the hotsync.
>
> thanks..
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/