I have code that creates a Pluggable-Protocol in C#. It works well.
However, I need to make it a pass thru handler to http. In order to do this
I need to create an Http Handler CLSID_HttpProtocol (from urlmon.h). I have
tried the following

[ComImport(), Guid("79EAC9E2-BAF9-11CE-8C82-00AA004BA90B")]
class HttpProtocol {}

HttpProtocol hp = new HttpProtocol();

Unfortunately the last line fails with a SystemOutOfMemory error. The
system is not out of memory. Has any one seen a similar problem before? At
this point I really do not know what to look for to get to a solution.

Thank you

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to