桌带不可修改
我创建了一个deskband,然后是codeproject(http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx)上的教程。
安装好桌带后,我意识到有一些地方需要修改。所以我卸载了deskband,回到我的代码并编辑代码,重建解决方案,重新安装deskband。然而,在任务栏中,桌带显示为没有任何改变,修改并没有做出任何改变。 有人知道这是为什么吗?
I have created a deskband followed by the tutorial on codeproject (http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx).
After I installed the deskband, I realized there is something need to be modified. So I I uninstalled the deskband, went back to my code and edit the code, rebuild the solution, re-install the deskband. However, in the taskbar, the deskband shows as nothing was changed, the modification does not make any change.
Anyone knows why is that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我了解到您在任务栏上安装了deskband,这意味着您的DLL在explorer.exe进程下运行。
问题是,当你将桌面带加载到任务栏上之后,DLL 就加载到了进程中。
对于 Deskband 真正重新加载 DLL 本身(从头开始),您需要重新启动加载它的进程,这意味着您必须重新启动 explorer.exe。
我实际上正在研究类似的问题,以找到更优雅的解决方案。如果我找到什么我会告诉你的。
编辑:查看一下:如何在不重新启动资源管理器进程的情况下删除桌带并删除其 dll?
这是一个类似的问题,Mosc(一个黑客解决方案)的答案对我有用。
I understand that you installed a deskband on the taskbar, which means your DLL runs under the explorer.exe process.
The thing is that after you loaded your deskband onto the taskbar - that's it, the DLL is loaded in the process.
For the Deskband really reload the DLL itself (from scratch), you need to restart the process that loads it, meaning you have to restart explorer.exe.
I'm actually working on a similar problem to find a more elegant solution. If I'll find something I'll let you know.
EDIT : Check it out: how can i remove a deskband and delete its dll without restart the explorer process?
It's a similar question, and the answer by Mosc (a hack solution) worked for me.