>>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