32位dll 转64位 dll

CorFlags.exe (CorFlags Conversion Tool)

https://docs.microsoft.com/en-us/dotnet/framework/tools/corflags-exe-corflags-conversion-tool

Parameters
PARAMETERS
Required parameter Description
assembly The name of the assembly for which to configure the CorFlags.
PARAMETERS
Option Description
-32BIT[REQ]+ Sets the 32BITREQUIRED flag.
-32BIT[REQ]- Clears the 32BITREQUIRED flag.
-32BITPREF+ Sets the 32BITPREFERRED flag. The app runs as a 32-bit process even on 64-bit platforms. Set this flag only on EXE files. If the flag is set on a DLL, the DLL fails to load in 64-bit processes, and a BadImageFormatException exception is thrown. An EXE file with this flag can be loaded into a 64-bit process.

New in the .NET Framework 4.5.
-32BITPREF- Clears the 32BITPREFERRED flag.

New in the .NET Framework 4.5.
-? Displays command syntax and options for the tool.
-Force Forces an update even if the assembly is strong-named. Important: If you update a strong-named assembly, you must sign it again before executing its code.
-help Displays command syntax and options for the tool.
-ILONLY+ Sets the ILONLY flag.
-ILONLY- Clears the ILONLY flag.
-nologo Suppresses the Microsoft startup banner display.
-RevertCLRHeader Reverts the CLR header version to 2.0.
-UpgradeCLRHeader Upgrades the CLR header ve

无法相互加载 32 64 。中间调用。

命令行工具:这个才能找到 .exe
https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2019

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值