Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to determine which VC++ runtimes are required?

$
0
0

I am writing an MFC application using Visual C++ 2013 that is targeting XP (v120_xp).  I use a few 3rd party DLLs.  One of them references the VC++ 2010 runtimes.  I have gone through all DLLs I use and as far as I could tell, I needed the VS2013 runtime and VS2010 runtime.  However, when I run the application on Windows XP it failed to start with an error message saying something like "Application failed to start due to invalid configuration.."  I did some searching which suggested that a runtime DLL was missing.  I checked multiple times with dependency walker but could find nothing other than references to 2010 and 2013 runtimes.  Out of desperation I installed VC 2008 SP1 runtime which allowed the application to run!  But why?  Even when I run the application in the Dependency Walker profiler I don't see any references to the 2008 runtime DLLs.  What is going on here?  How can I track down what is actually referencing one of the 2008 runtime DLLs and which one it is.


The Hinged Newt


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>