Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLDISCONNECT()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00146169
Message ID:
00146602
Vues:
26
Hi Danijel,

It seems to me that you ON ERROR routine is causing the problem when error 'Invalid Connection Handle' occurs.
Give this a try.
Bye
Jayesh


>Hi everybody
>I've just re-installed my computer, this time I went for Windows NT 4.00 as opposed to Win '95, mainly because I wanted to develop on the same platform as the users using my app. I thought I'd run through the app and start getting used to the differences of running Win NT, and the first difference (in my app, that is) puzzled me enough to post this enquiry. I also tried it in the command window to make sure and it's still there:
>lnHandle = SQLCONNECT(< datasource >, < UserID >, < Password >) && works fine...
>
>* Here's the odd thing:
>=SQLDISCONNECT(lnHandle) && quits FoxPro/.EXE
>* My .EXE gets terminated, or from command window - quits FoxPro
>
>
>Anyone have any idea why it behaves like this. I run the same on my other computer with Win 95 and it works just fine, it always have. Also our clients, running the app on Win NT don't have any problems (at least not reported any), so I'm convinced it's something with my configuration.
>
>Much obliged
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform