Re: Turn back to program after Hotsync ?

2001-03-21 Thread Jeremy Neal Kelly
Sorry, but that's all I can think of right now. Can anyone else make a suggestion? Best regards, Jeremy Neal Kelly "Jeroen Jonkman" <[EMAIL PROTECTED]> wrote in message news:42931@palm-dev-forum... > > I've tried that one, but It still isn't working. > > Eve

Re: Turn back to program after Hotsync ?

2001-03-20 Thread Jeroen Jonkman
I've tried that one, but It still isn't working. Even tried to call Pilotmain( .. ) from Pilotmain( .. ) with command "sysAppLaunchCmdNormalLaunch" after I received a "sysAppLaunchCmdSyncNotify". This doesn't work either. Have you got any other ideas ? Thanks in advance. On Thu, 15 Mar 2001 10:

Re: Turn back to program after Hotsync ?

2001-03-15 Thread Jeremy Neal Kelly
Again, I'm kind of new to this myself, but I think your PilotMain code should look more like this: if(cmd == sysAppLaunchCmdSyncNotify) AppLaunchWithCommand('creatorID', sysAppLaunchCmdNormalLaunch, NULL); The instance of your application that was started by HotSync need do no more than st

Re: Turn back to program after Hotsync ?

2001-03-15 Thread Jeroen Jonkman
Thanks for your advice, I tried to call the application whith the command AppLaunchWithCommand('creatorID', sysAppLaunchCmdNormalLaunch, NULL); in PilotMain after PilotMain received a sysAppLaunchCmdSyncNotify. code: ( in PilotMain ) if(cmd == sysAppLaunchCmdSyncNotify) { StartApplicat

Re: Turn back to program after Hotsync ?

2001-03-13 Thread Jeremy Neal Kelly
I am certainly no PalmOS expert, but: are you sure your main form's event handler is being set? I.e.: FrmSetEventHandler(pFrm, MainFormHandleEvent); It may that the code responsible for this doesn't expect a sysAppLaunchCmdSyncNotify, and thus isn't initializing your form properly. Also, as I

Turn back to program after Hotsync ?

2001-03-13 Thread Jeroen Jonkman
I made a program for a customer with a button for a hotsync operation.( They are not allowed to exit the program, but they have to hotsync, so I have put this behind a button ) the action when I press the Button is : AppLaunchWithCommand(sysFileCSync, sysAppLaunchCmdSyncRequestLocal, NULL); Th