使用32位组件传递64位exe或DLL [英] Communicating 64 bit exe or DLL with 32 bit components

查看:93
本文介绍了使用32位组件传递64位exe或DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于使用32位组件传递64位exe或dll的查询。



有没有办法去dll或我们必须写一个包装器或直接我们可以更改注册表设置。



我尝试过:



与32位组件通信64位exe或dll

I have a query regarding communicating 64 bit exe or dll with 32 bit components.

is there any way to dll or we have to write a wrapper or directly we can have acces changing the registry settings.

What I have tried:

communicating 64 bit exe or dll with 32 bit components

推荐答案

64位EXE无法调用32位程序集。

见这里: 64位app调用32位dll? [ ^ ]获取建议。



就注册表而言,访问受限于64位和32位程序集的相同方式 - 并且可能更严格而不是更少。除非您需要更改其他应用程序的注册表设置,否则最好完全忽略它,并使用您自己的本地存储。如果不出意外,本地存储将不需要进程提升!
A 64 bit EXE can't call 32 bit assemblies.
See here: 64 bit app calling 32 bit dll?[^] for suggestions.

And as far as the registry goes, access is restricted in the same way to both 64 and 32 bit assemblies - and is likely to be more strict rather than less. Unless you need to change registry settings for a different application, you would be better off ignore it completely, and using your own local storage instead. If nothing else, local storage won't require process elevation!


这篇关于使用32位组件传递64位exe或DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆