C# web应用程序p/调用win32 DLL时发生DllNotFoundException

C# web应用程序p/调用win32 DLL时发生DllNotFoundException,c#,wpf,exception,pinvoke,xbap,C#,Wpf,Exception,Pinvoke,Xbap,当我的web应用程序p/调用win32 dll Player.dll时,我遇到此错误 System.DllNotFoundException:无法删除 加载DLL“Player.DLL”:指定的 找不到模块。例外 来自HRESULT:0x8007007E 在Player.PlayerProxy.Initialize atr.WpfBrowserApp.Player.Page1.PlayFileObject 发送方,路由目标e 应用程序是用WPF XBAP编写的 我在.manifest文件中有以下

当我的web应用程序p/调用win32 dll Player.dll时,我遇到此错误

System.DllNotFoundException:无法删除 加载DLL“Player.DLL”:指定的 找不到模块。例外 来自HRESULT:0x8007007E

在Player.PlayerProxy.Initialize atr.WpfBrowserApp.Player.Page1.PlayFileObject 发送方,路由目标e

应用程序是用WPF XBAP编写的

我在.manifest文件中有以下信息。虽然所有.Net dll都在标记中提到,但win32 dll在标记中提到。为什么会有这种差异

 <file name="Win32DLL\Player.dll" size="620544">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>EwahNz1qPEyGmnCXusKji4ZTA78=</dsig:DigestValue>
    </hash>
  </file>

“Player.dll”驻留在哪里?在您的工作目录、System32文件夹或其他地方?dll是否引用了任何其他dll?@倒带器:它位于我的其他dll所在的网站目录中。我想这叫做工作目录。