Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with InternetDial()
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Problems with InternetDial()
Divers
Thread ID:
00703322
Message ID:
00703322
Vues:
55
hello,

I'm using the folloging API:
DECLARE Integer InternetDial IN WinInet ;
	Integer nHandle, String @lpcDialUp, ;
	Integer nAccessType, Long @nConnect_Handle, ;
	Integer nFlags
This function returns very often 0 for nConnect_Handle, although the dialler successfully established a connection:
lnRetVal = InternetDial(lnhwnd, lcDialUp, lnAccType, lnConnect_Handle, 0)
?lnConnect_Handle && returns 0, but connection established!
Why does this happen? I run the same code in VB and it never seems to give me a problem.

Also for nAccessType the help indicates that this is a constant:
INTERNET_DIAL_UNATTENDED = &H8000
How can I interpret this value in VFP?

Thanks for help in advance!
Christian Isberner
Software Consultant
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform