我在我的系统上有这个DataLink DLL - Interop.MSDASC.dll。我正在尝试像这样从Powershell中加载它 -
[Reflection.Assembly]::LoadFile("C:\Interop.MSDASC.dll") | out-null
但是,我收到了以下错误提示 -
Exception calling "LoadFile" with "1" argument(s): "Could not load file or assembly 'Interop.MSDASC.dll' or one of its dependencies. is not a
valid Win32 application. (Exception from HRESULT: 0x800700C1)"
At line:1 char:32
+ [Reflection.Assembly]::LoadFile <<<< ("C:\Interop.MSDASC.dll") | out-null
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
我应该如何正确加载它?