问题描述
我有VS 2005 dll项目。 DLL正确加载测试应用程序。
当我使用VS迁移向导将DLL项目转换为VS 2008项目时。它成功编译并生成DLL。但是当我运行Test应用程序时,它会触发错误
应用程序无法正确初始化(0xc0000142)。
测试应用程序也是VS 2008项目。所有必需的依赖项都已到位并仅使用VS 2008编译。
任何人都可以告诉/帮助我背后的原因。
-Prafulla
LITTLE UPDATE
我我在我的一个依赖dll中使用 OCI (Oracle C接口)API。当我评论
I have VS 2005 dll project. DLL gets load in test application properly.
When i converted the DLL project to VS 2008 project using VS migration wizard.It compiles successfully and produces a DLL. But when i run Test application , It fires the error
The application failed to initialize properly (0xc0000142).
Test application is also a VS 2008 project. All required dependencies are in place and compiled using VS 2008 only.
Can anyone tell/help me the reason behind it.
-Prafulla
LITTLE UPDATE
I am using OCI(Oracle C interface) API in one of my dependent dll. When i commented
OCI_Cleanup()
和
OCI_Initialize()
函数调用时,应用程序成功执行。
有谁可以告诉我这些OCI功能会出现什么问题。
function calls, Application gets executed successfully.
Can anybody tell me what would be the problem with these OCI functions.
推荐答案
这篇关于应用程序“无法正确初始化”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!