Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with InternetDial()
Message
 
 
À
23/09/2002 09:21:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00703322
Message ID:
00703354
Vues:
15
>Pass lnConnect_Handle by ref:
>
>
lnRetVal = InternetDial(lnhwnd, lcDialUp, lnAccType, @lnConnect_Handle, 0)
Yes, of course, but I did that, I only wrote it wrong in the message. The actual code is:

lnConnectionID = 0
IF VARTYPE(lnHWNDHandle) <> "N"
lnHWNDHandle = 0
ENDIF
lnFlag = 0x8000
lcDialUpName = lcDialUpName + cNULL
fResult = InternetDial(lnHWNDHandle, @lcDialUpName, lnFlag, @lnConnectionID, 0)
*-- fResult = 0
*-- lnConnecitonID = 0
*-- Connection is established.
What else could be wrong?
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform