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

无法运行vc++,错误代码0xc0150002,c++,visual-studio-2010,dll,C++,Visual Studio 2010,Dll,我正在尝试在Win7 enterprise上运行一个vc++应用程序,VS2010最终版本4.0.30319,但没有成功。 应用程序在运行时失败,说明:应用程序无法正确启动0xc0150002。单击“确定”关闭应用程序 我想我丢失了一个系统DLL,但不知道从哪里获取它 完全相同的项目相同的dll、lib文件和h文件在不同的类似机器x64、vs2010上运行,但无法在我的机器上运行。 我还跑了Dependency walker,这是我得到的: ***************************

我正在尝试在Win7 enterprise上运行一个vc++应用程序,VS2010最终版本4.0.30319,但没有成功。 应用程序在运行时失败,说明:应用程序无法正确启动0xc0150002。单击“确定”关闭应用程序

我想我丢失了一个系统DLL,但不知道从哪里获取它

完全相同的项目相同的dll、lib文件和h文件在不同的类似机器x64、vs2010上运行,但无法在我的机器上运行。 我还跑了Dependency walker,这是我得到的:

*****************************| 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.
任何帮助都将不胜感激!谢谢
Omri

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

编辑:


如果您不需要这个特定的DLL,您可以随时删除项目配置中的依赖项

谢谢,我已经重新安装了VS2010,但这并没有解决它。如何删除此依赖项?它不是由我直接引用的,而是由我正在使用的另一个DLL引用的。如果它由另一个DLL引用,则无法删除依赖项。您知道哪个VS包包含这些DLL吗?感谢示例-MSVCR90D.DLL-打开文件时出错。系统找不到指定的文件2。-为什么VC++2010即*100.dll需要VC++2008*90.dll的.dll?事实上,您的项目最初是否配置为在VC++2008下生成?您需要联系dll所有者并要求更新。它必须是发布版本,您不能在没有VS的机器上运行调试版本。