Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an release mode application in Win 7 working perfectly. But when I try to run the same in Win 8 - 64bit platform I am getting error as


The program can't start because MSVCP100D.dll is missing from your computer. Try reinstalling the program to fix this problem.


I just copied this DLL from my system to the Win 8 machine, it shows


The application was unable to start correctly (0xc0000007b). Click OK to close the application.



Kindly help me in solving the issue.
Posted

Unfortunately, you created dependency on the Visual Studio specific libraries. First thing you did wrong is: you created an application in Debug configuration (I can see it from the DLL name) and deployed it. You should not do it; always build Release configuration to deploy. Please see:
https://msdn.microsoft.com/en-us/library/aa985618.aspx[^].

Also, the deployed files should match the target CPU instruction-set architecture (x86, x86-64 or IE-64) and the architecture (64-bit hardware can run 32-bit Windows version; however; this is not your case).

Generally, this dependency can be resolve by proper installation. Please see, for example, https://msdn.microsoft.com/en-us/library/dd293568.aspx[^].

It could be solved by installation of the Visual Studio redistributable package. For example, this the one is for VS 2013: http://www.microsoft.com/en-us/download/details.aspx?id=40784[^].

If you want to use some other VS version, find the analogous package on the Microsoft site yourself.

Good luck.
—SA
 
Share this answer
 
v3
Comments
CPallini 3-Feb-15 3:14am    
My 5.
Note the explicitely mentioned the release build the question. Possibly he/she is deploying a not properly configured release build.
Sergey Alexandrovich Kryukov 3-Feb-15 3:39am    
Thank you, Carlo.
It could be. Note that "Release" is just the name of configuration, and configuration itself is not necessarily what is to be for deployment.
—SA
VidyasagarSTGM 3-Feb-15 3:43am    
I made the app in release configuration only.. I will check out your other suggestions... Thanks..
Sergey Alexandrovich Kryukov 3-Feb-15 4:32am    
No problem.
—SA
VidyasagarSTGM 4-Feb-15 4:07am    
I have my application configured in release mode. But I am still facing the same issue as "MSVCP100D.dll is missing". If 'D' denotes debug mode why am I facing such issue?


Kindly help me is with this.
You may find a lof of info on the web just Googling (see, for instance this Stack overflow question: "Application has failed to start because MSVCP100D.dll was not found, reinstalling app may help"[^]. By the way, why are you using a debug library in your release build?
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Feb-15 3:01am    
I guess the dependency can be properly installed on the target machine. Besides, the inquirer tried to deploy the debug version (look at 'D' part of the file name), which is wrong. Please see my answer.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900