Windows 7:属性处理程序在资源管理器中工作,但在 FileOpenDialog 中不起作用?
致力于为 Windows 7 中的自定义文件类型编写自定义属性处理程序。我已经安装了 Windows 7 SDK 并构建了示例属性处理程序。注册处理程序后,它在 Windows 资源管理器中运行良好,但在通用文件打开对话框中,自定义值不会出现。有谁知道我是否需要做一些特殊的事情才能使属性出现在常见对话框中?
探索者:
文件打开对话框:
Working on writing a custom property Handler for our custom file type in windows 7. I have installed the Windows 7 SDK and built the sample Property Handler. After registering the handler, it works great in Windows Explorer, but in the common file open dialog the custom values do not appear. Does anyone know if there is something special I need to do to get the properties to appear in common dialogs?
Explorer:
File Open Dialog:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,想通了。这是交易。我的应用程序是 32 位的,并且使用的是 x64 系统。因为PropertyHandler是用x64编写的,以支持进程外的shell。但对于文件打开对话框,它需要在进程内运行,因此 x64 dll 无法运行。我通过创建一个快速的 x64 应用程序来确认这一点,并且文件打开对话框的工作方式与操作系统相同。希望这能帮助其他人在我的立场上,讨厌回答我自己的问题,但不希望人们在这个问题上浪费 NRG,因为我找到了解决方案。
OK, figured it out. Here is the deal. My app is 32 bit and I am on a x64 system. Because the PropertyHandler is written in x64 to support the shell out of process. But for the file open dialog it needs to run inprocess, so the x64 dll can not run. I confirmed this by creating a quick x64 app and the fileopen dialog works the same as the OS. Hope this helps someone else in my shoes later on, hate answering my own question, but don't want people wasting NRG on this one as I found the solution.