运行MFC应用程序时出错... !! [英] Error while running MFC Application...!!

查看:113
本文介绍了运行MFC应用程序时出错... !!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个MFC应用程序,并使用Installware软件创建了相同的设置。当我在安装后尝试运行应用程序时,会发生以下错误:



Ordinal 9332无法位于动态链接库mfc90.dll



我搜索了mfc90.dll,它出现在系统目录中。

我无法理解问题所在。请任何人为我提供相同的解决方案。

I have created a MFC application and I have created the setup of the same using the Installware software. When I am trying to run the application after installation, following error occurs:

"Ordinal 9332 could not be located in the Dynamic Link Library mfc90.dll"

I have searched for mfc90.dll and it is present in system directory.
I am not able to understand what is the problem. Please anyone provide me the solution for the same.

推荐答案

你在DLL中承诺的内容与实际存在的内容之间存在不匹配。这是链接器/加载程序错误,严格来说不是运行时错误。 Ordinal 9332是DLL内部的API,当程序被链接时由.lib文件承诺(实际上它是API或指向数据的指针;很可能是API)但实际上并不在加载时。



确保在开发人员计算机和用户计算机上都正确安装了C ++可分发项。



一件事特别要寻找的是发布RTL DLL是可分发的,但调试DLL不是。有些人试图通过将调试DLL重命名为相应的版本名称来作弊...将无效。
You have a mismatch between what was promised in the DLL and what is actually there. This is a linker/loader error, not strictly a runtime error. Ordinal 9332 is an API inside the DLL that was promised by the .lib file when the program was linked (actually it is either an API or a pointer to data; most likely an API) but is not actually there at load time.

Make sure that the C++ distributables are installed correctly on both the developer machine and user machine.

One thing specifically to look for is that release RTL DLLs are distributable but debug DLLs are not. Some people try to cheat by renaming the debug DLLs to the corresponding release names... won't work.


这篇关于运行MFC应用程序时出错... !!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆