No suggestions, but a related question.
I've been following this thread and it doesn't look like it's going to go
near my question (unless I give it a push :-)
Is there any way to start a *network* hotsync programmatically. I don't
care about returning afterwards - I would like to fiddle with the network
settings (make a serial PPP connection at 57600) which I can already do,
then fire off a network sync. Oh yeah, and some 'correct' way to check if
network syncing is supported would be appreciated too...
One other related question: I'm not on the seeding program for OS 3.3
(yes, maybe I should be...) but ISTR seeing mention of enhanced serial
support, which may obselete my little program to make a PPP connection
direct to the serial port at 57600 (as opposed to the default 19200). Is
this correct?
Cheers
Richard
On Thu, 16 Sep 1999, Silvia Brunet wrote:
> Thank you all for your input in to solve my problem.
>
> I got my application, to succesfully call hotsync,
> however, when the sync is done, my application
> is not getting back a launch code that a sync
> was done, so I am not being able to call my
> application again, right after a hotsync.
>
> Any other ideas?
>
> Thanks
>
> At 04:07 PM 09/16/1999 +0100, you wrote:
>
> >>>>
>
> <excerpt>Hi Silvia,
>
>
> The code you posted on the other thread about this subject doesn't work
> for one simple reason: it isn't allocating global variable space for the
> Hotsync application. So, Hotsync is writing its global vars on top of
> your app's global vars.
>
>
> You used:
>
> Err SysAppLaunch( UInt cardNo, LocalID dbID, UInt launchFlags, Word cmd,
> Ptr cmdPBP, DWord* resultP)
>
>
> And you set launchFlags to 0, which means the following flags are false:
>
> sysAppLaunchFlagNewStack
>
> sysAppLaunchFlagNewGlobals
>
> sysAppLaunchFlagUIApp
>
>
> The global allocation problem is enough to crash your application, or
> Hotsync. Anyway, I don't know if you can set launchFlags to anything but
> 0, as the docs say:
>
> launchFlags Set to 0.
>
>
> If you have a conduit, and it modifies the database, your application has
> to be called by the system. Check it carefully.
>
>