问题描述
我使用deleteURLCacheEntry的Wininet API上的Win7 / Vista中IE 7/8删除Internet临时文件分别。该API的工作时,IE浏览器的保护模式为OFF完美的罚款。但是,它静静地失败时保护模式为ON。 ?谁能告诉我如何编程删除Internet临时文件时保护模式为ON
I am using "deleteURLCacheEntry" Wininet API to delete temporary internet files on Win7/Vista IE 7/8 respectively. The API works perfectly fine when IE's protected mode is OFF. But it fails silently when the protected mode is ON. Can somebody advise me how to delete the temporary internet files programmatically when PROTECTED MODE is ON?
我基本上使用下面的MSDN链接中给出的方案:
I am basically using the program given in the following msdn link:
感谢您。
推荐答案
其实,花只看DeleteUrlCacheEntry没有我的两个问题都没有在这里提供的任何信息:第二个链接中包含它未能对项目的例子:
Actually, take a look at my two questions on DeleteUrlCacheEntry failing without providing any information here: The second link contains examples of items it is failing on:
的
和...
现在,看看从MSDN这个文件,并让我知道,如果它帮助你出去,或者如果它原来是解...
Now, check out this document from MSDN, and let me know if it helped you out or if it turns out to be the solution...
了解并在保护模式下的Internet Explorer
Understanding and Working in Protected Mode Internet Explorer
这是你你的问题联系在一起的保护模式的事实问题一直开导我有所以及(在试图回答我两个问题而言),所以现在我将继续调查这是一个可行的解决方案。
The fact that you have tied your question to the "Protected Mode" issue has enlightened me somewhat as well (in terms of trying to answer my two questions) so I will now continue to investigate this as a possible solution.
MSDN文章我有联系到几乎可以让用户注册表项以允许那些在保护模式通常被禁止的东西你的程序额外的访问。我无法确认这是解决你的还是我的问题,但是,我有一个强烈的感觉,它可能是。
The MSDN article I have linked to pretty much lets you make Registry Entries to allow your program additional access to things that are typically blocked under Protected Mode. I cannot confirm that this is the solution to your or my questions, however, I have a strong feeling it may be.
请不要让我们发布,并随时编辑你的问题的标记,以便它以反映您正在使用DeleteUrlCacheEntry的编程语言。
Please do keep us posted, and feel free to edit the tagging of your question in order for it to reflect the programming languages you are using DeleteUrlCacheEntry with.
这篇关于DeleteURLCacheEntry多年平均值删除Internet临时文件时保护模式为ON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!