开发者

Using 32-bit .NET DLL is 64-bit .NET project

开发者 https://www.devze.com 2023-03-08 18:28 出处:网络
I have 32-bit .NET DLL assembly and I need to use it in 64-bit .NET 开发者_如何学Cproject. How it is possible? I can\'t recompile DLL and I haven\'t source code.

I have 32-bit .NET DLL assembly and I need to use it in 64-bit .NET 开发者_如何学Cproject.

How it is possible? I can't recompile DLL and I haven't source code.

What is the difference between 32-bit .NET DLL and 64-bit .NET DLL except of PE executable file header?

Maybe that DLL can be modified easily?


Have you tried a .NET decompiler? They can be very effective: http://reflector.red-gate.com/download.aspx The chances of getting this to work will depend on why the DLL is marked as 32-bit in the first place - presumably there is a good reason for it.

You certainly cannot use a 32-bit .NET DLL directly from a 64-bit .NET process. You could write a 32-bit application that loads the DLL and responds to requests from the separate 64-bit process.

0

精彩评论

暂无评论...
验证码 换一张
取 消