在64位系统上以32位运行AnyCPU

编程入门 行业动态 更新时间:2024-10-28 14:23:27
本文介绍了在64位系统上以32位运行AnyCPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们正在使用一个第三方程序集,该程序集似乎已编译为AnyCPU。

We are using a Third-Party assembly that seems to be compiled as AnyCPU.

但是,我们在应用程序中进行了多次安装,导致出现问题。此第三方程序集使用oracle数据访问库,在仅安装32位oracle客户端的64位计算机上不起作用。

However, we have a number of installations of our application where this leads to problems. This Third-Party assembly makes use of the oracle dataaccess library, and will not work on 64-bit machines where only a 32-bit oracle client is installed.

额外的64位oracle客户端是可能的,但也很昂贵(需要花费很多时间,许多机器必须更新等)。

Installing a additional 64-bit oracle client would be possible, but also expensive (takes a lot of time, many machines have to be updated etc.)

有没有一种强制的方法一个AnyCPU .Net程序集可以以32位运行而无需重新编译?

Is there a way to force a AnyCPU .Net assembly to run as 32-bit without recompiling?

推荐答案

看看 CorFlags.exe 。

示例(设置32BIT标志):

Example (set 32BIT flag):

corflags [path]\[YourAssembly.exe] /32Bit+

更多推荐

在64位系统上以32位运行AnyCPU

本文发布于:2023-11-04 17:19:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1558549.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:上以   系统   AnyCPU

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!