>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
Imagination is more important than knowledge