Register 32 bit COM DLL to 64 bit Windows 7

后端 未结 10 1352
小蘑菇
小蘑菇 2020-11-27 05:27

I have a 32 bit COM component DLL and this DLL is written in Delphi. It\'s a Win32 DLL. I want to use this DLL in my Visual C# project on .NET platform.

I can\'t add

10条回答
  •  情深已故
    2020-11-27 06:05

    If problem not resolved, when using SysWoW64 version of regsvr32, make sure all library dependencies have same archetecture. For example, when

    regsvr32 lib_x86.dll fails to register library, and %SystemRoot%\SysWow64\regsvr32 lib_x86 also fails, try to load lib_x86 to Dependency Walker application to see whole list of dependencies. If any item have 64-bit archetecture, here is the reason, why regsvr32 fails to load 32-bit library.

提交回复
热议问题