C++ Windows Shell 扩展 - Win7 32 位 - 64 位兼容性问题

发布于 2024-12-07 14:03:04 字数 391 浏览 1 评论 0原文

我有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽清梦 2024-12-14 14:03:04

它不应该在调试模式下编译,而只能在发布模式下编译。

另外,在互联网上的一个常见示例中,存在一个错误,并且 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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文