FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADS Re-connection
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
ADS Re-connection
Posted: Tue Aug 05, 2008 05:42 AM

Hello All,

I have this situation Using xHarbour 1.0b and ADS 8.1:

I successfully connected using AdsConnect60(....), something happend with my ADSL internet connection and my communication has been cutoff...

ADS generated '[6313] General communication failure' with that matter.

Now, connection resumed (somehow), inside my program, calls again the procedure to reconnect with the same parameter to AdsConnect60().... IT WONT CONNECT ANYMORE.

what I am trying to do is have auto reconnect with ads if the internet connection fails and resume again without the user restarting the program.

any help ADS expert....

regards,

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
ADS Re-connection
Posted: Thu Aug 07, 2008 01:02 PM

I solved the issue on reconnection by adding the following to ADS.INI :idea:

[Settings]
RETRY_ADS_CONNECTS = 1

hope this helps others too.

Regards,

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
ADS Re-connection
Posted: Thu Aug 07, 2008 04:03 PM

Thanks for the tips. :-)

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion