Create a shell namespace extension

瘦欲@ 提交于 2019-12-12 18:25:11

问题


How does acronis create this virtual folders. For example I created a backup of the folder Example located at C:\Example This is how the backup looks:

If I double click on that file then I could navigate to:

if I right click on that folder I will not get the regular menu that I get with directories. If I double click that directory then I will navigate to the content of that folder as:

Note that the content that I am looking at is inside a file not on windows explorer.

I know that if I send VirtualDir.tib to somewone they will not be able to see the same because they do not have acronis true image installed.

How could I be able to do something similar with c# ?


Edit

Sorry I just updated the title. How will I be able to create a chell namespace extension with c#?


回答1:


To answer your question about whether it can be done in C#, the answer is no. As is explicitly stated here, writing shell extensions in managed code is entirely unsupported. This is because shell extension DLLs can be loaded into multiple processes, some of which would already have another version of the CLR loaded.



来源:https://stackoverflow.com/questions/12341692/create-a-shell-namespace-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!