使用什么语言编写 Windows shell 扩展
我知道如何在 python 中编写 shell 扩展。
缺点是
- 它不能在 64 位 Windows 上运行,
- 我不确定每次“发生”事情时创建一个 python 进程会如何降低性能。
我知道如何使用 .Net (C#) 编写 shell 扩展
缺点是
- MS不鼓励
- 我不确定这是怎么回事降低性能。 (是吗?)
我见过用(免费)pascal 编写的 shell 扩展。
- 使用这种方法有缺点吗
- ?这是否适用于 64 位 Windows。
显然,人们可以使用 c 或 c++ 编写 shell 扩展
- 好吧...我仍在尝试理解 c 和 c++ 中的 com...
还有其他选项,还有其他语言吗?
它们有缺点吗?
I know how to write shell extesions in python.
The drawbacks are
- it does not work on 64 bit Windows
- I am unsure how creating a python process everytime something “happens” reduces performance.
I know how to write shell extensions using .Net (C#)
The drawbacks are
- discouraged by MS
- I am unsure how this reduces performance. (does it?)
I have seen shell extenions written in (free)pascal.
- Are there drawbacks using this approach
- Does this work with 64bit windows.
Obviosly one can write shell extensions using c or c++
- Well... I am still trying to understand com in c and c++....
What other optios are there, what other languages ?
Do they have drawbacks?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
自从 .NET 4 出现以来,MS 现在支持 .Net 的 Shell 扩展,因为主要问题(无法在 shell 中托管多个 CLR 版本)已通过 并排机制:
Since .NET 4 came along, MS now do support .Net for Shell Extensions, since the major problem (cannot host multiple CLR versions in shell) has been solved through the side-by-side mechanism:
由于explorer一直在运行,请尽可能使用高效且接近操作系统的语言。请使用 C 或 C++。
because explorer is running all the time, please use a language that is efficient and close to the OS as possible. C or C++ please.