Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: 31 May 2006 07:10:12 -0700,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


PassthruAPP on windows mobile   
Hi,
Im writing a program that needs to catch the browser's headers on ie
mobile, so I took PassthruAPP and patched it into piehelper
(microsoft's sample).
The patch is good (i practiced first on the "ihhelper" bho sample), but
it
The error thrown is "class not registered" on the CLSID_HttpProtocol.
Here is the code running "stack"

hr = MetaFactory::CreateInstance(CLSID_HttpProtocol, &m_spCFHTTP);
{
     //.... it calls
     hr = pObj->SetTargetCLSID(clsidTarget);  // clsidTarget :=
CLSID_HttpProtocol
     {
          //.... and its throwing me here...
          HRESULT hr = CoGetClassObject(clsid, clsContext, 0,
IID_IClassFactory, reinterpret_cast<void**>(&spTargetCF));
          // 		hr	0x80040154 {Class not registered }	HRESULT
     }
}

hr returns with class not registered...
I saw that this class id does not exist in the windows mobile's
registry  so i added it manually, pointing it into urlmon.dll (just
like in the win32 platform) but it didn't help...


What should I change ?
date: 31 May 2006 07:10:12 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us