Re: IInternetBindInfo, TYMED_ISTREAM and GetBindInfo



<michael.martinek@xxxxxxxxx> wrote in message
news:1187144734.489653.176380@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Do you know if there are any undocumented quirks about using the
IStream pointer? Must I seek the stream to a specific location after
I'm done with it

No, as far as I know. Often, the stream is not seekable (Seek call may
fail).

free the BindInfo structure myself

You have to release the resources stored in BINDINFO structure,
regardless of whether it uses a stream or otherwise. See
ReleaseBindInfo.

If you have, or know of a working
implementation I'd absolutely love to see it

A working implementation doing what? What exactly are you trying to
achieve?

You may want to look at my Passthrough APP sample:

http://groups.google.com/group/microsoft.public.inetsdk.programming.mshtml_hosting/msg/76bf4910a289d4b3

I don't read POST data in the sample, just pass it through to stock HTTP
handler. But it could be easily adapted to do that.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.