Home > Archive > SQL Anywhere ultralite > September 2005 > Synchronization failed (SQL Anywhere 8.0.3. build 5002)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Synchronization failed (SQL Anywhere 8.0.3. build 5002)
Edwin van der Voort

2005-09-19, 7:23 am

Hello,


When I use the following code,
for sycnhronization , The sample application then this sync is doing
nothing, When I take out

synch_info.stream_parms =
UL_TEXT("host=localhost");

from the code , the application is sycnhronizing against my
consolidated database.

In both situations I synchronize through a cradle to my desktop (via
activesync connection)

This code is not working:

auto ul_synch_info synch_info;
conn.InitSynchInfo( &synch_info );
synch_info.user_name = UL_TEXT( "50" );
synch_info.version = UL_TEXT( "custdb" );
synch_info.stream = ULSocketStream();
synch_info.stream_parms =
UL_TEXT("host=localhost");
conn.Synchronize( &synch_info );


The code below is working:

auto ul_synch_info synch_info;
conn.InitSynchInfo( &synch_info );
synch_info.user_name = UL_TEXT( "50" );
synch_info.version = UL_TEXT( "custdb" );
synch_info.stream = ULSocketStream();
conn.Synchronize( &synch_info );


Any ideas ?

Edwin

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com