本文介绍了如何在64位应用程序中使用32位dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C#应用程序,我想制作64位,但是我有一个仅在编译32位时才起作用的库dll.

除了拥有两个单独的可执行文件之外,还有其他方法吗?

我认为这无关紧要,但是出于完整性考虑,有问题的dll是Interop.MRTKTASKLib.dll.

我收到的异常消息是为具有CLSID的组件检索COM类工厂...由于以下错误而失败:80040154."

谢谢.

I have a C# application that I''d like to make 64-bit but I have a library dll that only works when I compile 32-bit.

Is there any other way than having two separate executables to achieve this?

I don''t think it should matter, but for completeness the dll in question is Interop.MRTKTASKLib.dll.

The Exception message I get is "Retrieving the COM class factory for component with CLSID ... failed due to the following error: 80040154."

Thanks.

推荐答案




这篇关于如何在64位应用程序中使用32位dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 09:39