无法运行vc ++,错误代码为0xc0150002

时间:2012-04-15 11:45:24

标签: c++ visual-studio-2010 dll

我正在尝试在Win7企业上运行vc ++应用程序,VS2010终极版本4.0.30319但未能这样做。 应用程序在运行时声明失败:应用程序无法正确启动(0xc0150002)。单击“确定”关闭应用程序。

我想我错过了一个系统DLL,但不知道从哪里获取它。

完全相同的项目(相同的dll,lib文件和h文件)在不同的类似机器(x64,vs2010)上运行,但无法在我的机器上运行。 我也跑了依赖沃克,这就是我所拥有的:

*****************************| System Information |*****************************

Dependency Walker:       2.2.6000 (64-bit)
Operating System:        Microsoft Windows NT/2000/XP/2003/Vista based Enterprise (64-bit)
OS Version:              6.01.7601 Service Pack 1
Processor:               Intel64 Family 6 Model 42 Stepping 7, GenuineIntel, ~2594MHz
Number of Processors:    4, Mask: 0x000000000000000F
Local Date:              Sunday, April 15, 2012
Memory Load:             92%
Physical Memory Total:   4,200,972,288 (4007 MB)
Physical Memory Used:    3,884,187,648
Physical Memory Free:    316,784,640
Page File Memory Total:  8,400,052,224
Page File Memory Used:   4,405,301,248
Page File Memory Free:   3,994,750,976
Virtual Memory Total:    8,796,092,891,136
Virtual Memory Used:     200,855,552
Virtual Memory Free:     8,795,892,035,584
Page Size:               0x00001000 (4,096)
Allocation Granularity:  0x00010000 (65,536)
Min. App. Address:       0x0000000000010000 (65,536)
Max. App. Address:       0x000007FFFFFEFFFF (8,796,092,956,671)

Side-by-Side components (Windows 2000/XP/2003/Vista/+)
   [F ] c:\windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\COMCTL32.DLL
   [F ] c:\windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.DLL
   [F ] c:\windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a\GDIPLUS.DLL
The system's "KnownDLLs" list
   [F ] c:\windows\system32\ADVAPI32.DLL
   [F ] c:\windows\system32\CFGMGR32.DLL
   [F ] c:\windows\system32\CLBCATQ.DLL
   [F ] c:\windows\system32\COMCTL32.DLL
   [F ] c:\windows\system32\COMDLG32.DLL
   [F ] c:\windows\system32\CRYPT32.DLL
   [F ] c:\windows\system32\DEVOBJ.DLL
   [F ] c:\windows\system32\DIFXAPI.DLL
   [F ] c:\windows\system32\GDI32.DLL
   [F ] c:\windows\system32\IERTUTIL.DLL
   [F ] c:\windows\system32\IMAGEHLP.DLL
   [F ] c:\windows\system32\IMM32.DLL
   [F ] c:\windows\system32\KERNEL32.DLL
   [F ] c:\windows\system32\KERNELBASE.DLL
   [F ] c:\windows\system32\LPK.DLL
   [F ] c:\windows\system32\MSASN1.DLL
   [F ] c:\windows\system32\MSCTF.DLL
   [F ] c:\windows\system32\MSVCRT.DLL
   [F ] c:\windows\system32\NORMALIZ.DLL
   [F ] c:\windows\system32\NSI.DLL
   [F ] c:\windows\system32\NTDLL.DLL
   [F ] c:\windows\system32\NTDLL.DLL
   [F ] c:\windows\system32\OLE32.DLL
   [F ] c:\windows\system32\OLEAUT32.DLL
   [F ] c:\windows\system32\PSAPI.DLL
   [F ] c:\windows\system32\RPCRT4.DLL
   [F ] c:\windows\system32\SECHOST.DLL
   [F ] c:\windows\system32\SETUPAPI.DLL
   [F ] c:\windows\system32\SHELL32.DLL
   [F ] c:\windows\system32\SHLWAPI.DLL
   [F ] c:\windows\system32\URLMON.DLL
   [F ] c:\windows\system32\USER32.DLL
   [F ] c:\windows\system32\USP10.DLL
   [F ] c:\windows\system32\WININET.DLL
   [F ] c:\windows\system32\WINTRUST.DLL
   [F ] c:\windows\system32\WLDAP32.DLL
   [F ] c:\windows\system32\WS2_32.DLL
The application's registered "App Paths" directories
The system's "PATH" environment variable directories
   [  ] C:\Oracle11gR2_x64\product\11.2.0\client_1\bin\
   [  ] C:\Windows\system32\
   [  ] C:\Windows\
   [  ] C:\Windows\System32\Wbem\
   [  ] C:\Windows\System32\WindowsPowerShell\v1.0\
   [  ] C:\Program Files\WIDCOMM\Bluetooth Software\
   [  ] C:\Program Files\WIDCOMM\Bluetooth Software\syswow64\
   [  ] C:\Program Files\Intel\WiFi\bin\
   [  ] C:\Program Files\Common Files\Intel\WirelessCommon\
   [  ] C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
   [  ] C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
   [  ] C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
   [  ] C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
   [  ] C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
   [  ] C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
   [  ] C:\GTK2-Runtime\bin\
   [  ] c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\
   [  ] C:\Program Files\OpenCV2.3\build\bin\
   [  ] C:\Program Files\OpenCV2.3\build\x64\vc10\bin\
   [  ] C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86\
   [  ] C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64\

***************************| Module Dependency Tree |***************************
*                                                                              *
* Legend: F  Forwarded Module   ?  Missing Module        6  64-bit Module      *
*         D  Delay Load Module  !  Invalid Module                              *
*         *  Dynamic Module     E  Import/Export Mismatch or Load Failure      *
*                               ^  Duplicate Module                            *
*                                                                              *
********************************************************************************

[   ] GRASPVIEWER.EXE
     [   ] OPENCV_CORE230D.DLL
          [ E6] KERNEL32.DLL
               [FE6] NTDLL.DLL
          [ ? ] MSVCP90D.DLL
          [   ] LIBMMDD.DLL
               [ E6] KERNEL32.DLL
                    [FE6] NTDLL.DLL
          [ ? ] MSVCR90D.DLL


...


********************************| Module List |*********************************
*                                                                              *
* Legend: D  Delay Load Module   ?  Missing Module           6  64-bit Module  *
*         *  Dynamic Module      !  Invalid Module                             *
*                                E  Import/Export Mismatch or Load Failure     *
*                                                                              *
********************************************************************************
[ ? ]  MSVCP90D.DLL     Error opening file. The system cannot find the file specified (2).
[ ? ]  MSVCR90D.DLL     Error opening file. The system cannot find the file specified (2).
[D? ]  IESHIMS.DLL      Error opening file. The system cannot find the file specified (2).

...

************************************| Log |*************************************

Error: The Side-by-Side configuration information for "c:\users\ ...\OPENCV_CORE230D.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: The Side-by-Side configuration information for "c:\users\ ...\debug\HANDSD.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: The Side-by-Side configuration information for "c:\users\ ... \debug\CORE.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: The Side-by-Side configuration information for "c:\users\ ... \debug\OPENCV_HIGHGUI230D.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: The Side-by-Side configuration information for "c:\users\ ... \debug\OPENCV_IMGPROC230D.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: The Side-by-Side configuration information for "c:\users\ ... \debug\FINGERTRACKER.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

任何帮助将不胜感激!谢谢, 欧米

1 个答案:

答案 0 :(得分:0)

您缺少的DLL是VS调试DLL ...它通常与VS一起安装。如果您在此计算机上有特殊配置,则可能是DLL放错位置或丢失。如果缺少,请尝试通过修复安装从VS安装程序获取它。

编辑:

如果您不需要此特定DLL,则可以始终删除项目配置中的依赖项