Why is mfc100.dll required for my Visual Studio 2013 project?

随声附和 提交于 2019-12-25 00:28:48

问题


I have a Visual Studio project set to use:

  • Platform Toolset: Visual Studio 2010 (v100)
  • Use of MFC: Use Standard Windows Libraries

Yet, if I run this on a computer that does not have mfc100.dll, I get an error that this dll is required. (And Dependency Walker confirms this dll is required.) I'm wondering why this dll is required, when "Use of MFC" is set to "Use Standard Windows Libraries"? (It is NOT set to "Use MFC...")

The platform toolset is set to VS 2010 because a commercial library we use does not support VS 2013 yet.


回答1:


  1. Easiest way: Check if one of you Projects has "Uses MFC" in the Project Options set
  2. Use Depends to check if one of you components (DLLs) that uses mfc100,dll
  3. Maybe one of the static libraries requires this. Change the setting of the Linker options to /verbose this will Show what module uses the MFC libs.


来源:https://stackoverflow.com/questions/24442478/why-is-mfc100-dll-required-for-my-visual-studio-2013-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!