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: Tue, 23 May 2006 20:16:15 -0400,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


a weird behaviour of MIME filter   
Hello,

I created a very simple MIME filter for text/html by referring the MSDN 
sample mimefltr. My filter just removes the oncontextmenu attribute of body 
tag. In order to do some diagnosis, the filter creates a temp file and saves 
downloaded content into the file. After I remove the code that creates and 
closes the temp file from the filter, IE simply ignores whatever my filter 
changed. So I put the code into the filter again, the filter just works fine 
and IE renders the content as expected. CAtlFile is used to operate the temp 
file. Could some expert explain the phenomena? It seems that CloseHandle() 
is somehow related.

Thanks in advance,

Shangwu
date: Tue, 23 May 2006 20:16:15 -0400   author:   Shangwu

Google
 
Web ureader.com


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