How To Disable Shell Extension In FileOpen Dialog

前端 未结 1 1556
情歌与酒
情歌与酒 2021-01-15 04:53

I am talking about windows shell extensions.

I have a shell extension which could show the specific properties of my customized file type, say, *.filetype. And of co

1条回答
  •  终归单人心
    2021-01-15 05:43

    Create a shim dll which does nothing but load your real (big) shell extension dll. The only job of that shim dll is to check whether the current process is "explorer.exe". If it is, the shim loads the real dll and forwards all calls there. If it's not, the shim doesn't load your real dll but simply returns E_NOTIMPL or something like that to all requests.

    0 讨论(0)
提交回复
热议问题