C++ Windows Shell 扩展 - Win7 32 位 - 64 位兼容性问题
我有 Visual Studio 2005,我正在为 Windows 资源管理器编写一个 shell 扩展。
它适用于我编译项目的 Windows Vista 32 位。 当项目在 Windows7 64 位上编译时,它也适用于 Windows 7 64 位。
现在我想在 Windows 7 32 位上测试它,当该项目已在 Windows Vista 32 位上编译时,但它不起作用!
C++版本之间是否存在兼容性问题?
shell 扩展 dll 将不会注册。 (并排错误)。
是否需要在 Windows 7 32 位上编译才能使其工作?
我的 dll 基于 codeproject.com 上的“完整白痴指南编写 shell 扩展”的示例,
谢谢!
i have visual studio 2005 and i am writing a shell extension for windows explorer.
It works in Windows Vista 32bit where i compile the project.
It also works on Windows 7 64bit when the project has been compiled on Windows7 64bit.
Now i want to test it also on Windows 7 32bit when the project has been compiled on Windows Vista 32bit but it does not work !
Are there compatibility issues between c++ versions ?
The shell extension dll won't register. (side by side error).
Is it necessary to compile it on Windows 7 32bit to make it work ?
My dll is based on the example of "complete idiot's guide to writing shell extensions" on codeproject.com
Thanks !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不应该在调试模式下编译,而只能在发布模式下编译。
另外,在互联网上的一个常见示例中,存在一个错误,并且 int 应该得到
转换为 IntPtr...
it should not be compiled in debug mode but only in release mode.
also in a frequent example on the internet there is a bug and the int should get
converted to IntPtr...