我正在使用Extreme reality SDK,我不知道你是否听说过它,每次我在这行上运行我的c#项目时:
GeneratorSingleton.Instance.Initialize(platformType, imgInfo);我得到了这个例外:
Unable to load DLL '__Internal': The specified module could not be found.(Exception from HRESULT: 0x8007007E)以下是我的代码:使用系统;使用System.Collections.Generic;使用System.Linq;使用System.Windows.Forms;使用Xtr3D.Net;使用Xtr3D.Net.BaseTypes;使用Xtr3D.Net.ColorImage;使用Xtr3D.Net.ExtremeMotion;使用Xtr3D.Net.ExtremeMotion.Data;使用Xtr3D.Net.ExtremeMotion.Interop.Types;命名空间Ex_Real { static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
// Initializing
Xtr3D.Net.BaseTypes.PlatformType platformType = new PlatformType();
Xtr3D.Net.ImageInfo imgInfo = new ImageInfo();
GeneratorSingleton.Instance.Initialize(platformType, imgInfo);
}
}
}尽管我遵循了PDF中的提示,并将以下DLL从SDK的“bin”文件夹复制到运行应用程序的文件夹"Debug“:
XTR3D_ImageAcquisition.dll
Xtr3dInfra.dll
Xtr3dLogger.dll
Xtr3dManager.dll
Xtr3dSkeleton.dll
Xtr3D.Net.dll
Xtr3D.Net.ExtremeMotion.dll
EM_Trial.lic并从SDK的“bin”文件夹中添加了以下引用: Xtr3D.Net.dll Xtr3D.Net.ExtremeMotion.dll
那么我在这里错过了什么呢?有什么帮助吗?提前感谢
发布于 2015-05-24 01:26:24
有一个很棒的实用程序叫做Depends,它可以分析你的.exe/.dll文件,并向你显示遗漏了什么。http://www.dependencywalker.com/
https://stackoverflow.com/questions/30414888
复制相似问题