Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set PASSIVE on in WININET?
Message
De
10/11/1999 20:45:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00288595
Message ID:
00289916
Vues:
38
>>I don't think its going to work, because there is no way for you to pass your session handle to ITC to use, and the passive semantics are session specific.
>>
>>ITC creates its own session. Let me know if you find differently.
>
>I created a form with just ITC on it and RUNNED it: then ...
>? form.itc.HInternet && Returned a zero
>... then I did this
>Form.ITC.OpenUrl("")
>? form.itc.HInternet && Returned a true (non-zero)
>I wonder if this Hinternet will feed InternetConnect soze the app will toggle passive? I guess what is being suggested is let ITC create the handle, and then use the handle to talk with WININET. Dunno
>Terry

If it was possible, I would have suggeested the reverse. Call InternetConnect yourself, passing the passive flag, and the use the hand;e returned to set the ITC's HINTERNET property. I kind of doubt it will work though.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform