开发者

Where should a IE browser helper object store its data files?

I'm writing a browser helper object for internet explorer that needs to store some data on the ha开发者_开发知识库rd disk. Is there a convention, where to store this files? Or if not - to which directory (except the temp folder) do I have write access?


Normally applications store state in CSIDL_LOCAL_APPDATA or CSIDL_APPDATA but a low IL process (like Protected IE) cannot write to those directories, for low IL you can use FOLDERID_LocalAppDataLow.

When running inside the IE process you can use special IE versions of those APIs: IEGetWriteableFolderPath and IEGetWriteableHKCU


Create a subdirectory for your app under the path returned by IEGetWritableFolderPath().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜