首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法加载DLL '__Internal‘

无法加载DLL '__Internal‘
EN

Stack Overflow用户
提问于 2015-05-24 00:14:45
回答 1查看 797关注 0票数 2

我正在使用Extreme reality SDK,我不知道你是否听说过它,每次我在这行上运行我的c#项目时:

代码语言:javascript
复制
GeneratorSingleton.Instance.Initialize(platformType, imgInfo);

我得到了这个例外:

代码语言:javascript
复制
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 {

代码语言:javascript
复制
        /// <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“:

代码语言:javascript
复制
 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

那么我在这里错过了什么呢?有什么帮助吗?提前感谢

EN

回答 1

Stack Overflow用户

发布于 2015-05-24 01:26:24

有一个很棒的实用程序叫做Depends,它可以分析你的.exe/.dll文件,并向你显示遗漏了什么。http://www.dependencywalker.com/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30414888

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档