Creating a Pluggable Protocol in a MFC AppWizard EXE
I've been searching through this group for examples on how to do
this. I have found many ideas and examples of things, but nothing is
working well with what I am trying. I am not very familiar with COM
so this is making this a bit more difficult. What I am trying to do
is create a new protocol 'getimage' to retrieve images from memory
streams. I have an idea of how to do this, but just need some
guidance.
I have a SDI app, with an HTMLView.
I know I need to create an APP (CGetImageAPP) that implements
IInternetProtocol. After creating that, I need to register it with the
RegisterNameSpace method of IInternetSession. I have not been able to
create the APP class yet, because in the Class view of my project, I
try to make a 'New ATL Object', but i get an error saying that is not
available. I don't know if there is someway I can get that to work or
not. If I can't get this new ATL Object thing to work can I make the
APP manually somehow?
Does this sound correct, or am I missing things?
Thanks,
Sawyer
date: Tue, 24 Jun 2008 11:32:11 -0700 (PDT)
author: Sawyer