Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

Setup and Deployment VC++ 2012

$
0
0
Setup and Deployment has been removed from Visual Studio 2012. So I separately installed Install Shield that is designed for Visual Studio 2012 and 2013.

Now after installing an application in fresh PC, when I ran the console application, I came across this error (copied from messagebox)

Code:

---------------------------
Listener.exe - Bad Image
---------------------------
C:\Windows\system\MSVCP110D.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
---------------------------
OK 
---------------------------

When I tried to search for a solution to this error, I came across this article.

http://www.rhyous.com/2010/09/16/avo...msvcr100d-dll/

Where I followed these steps and still the error wasen't resolved. Can someone help me in resolving this issue?

Quote:

Release
1.In Visual Studio, I went to the project Properties.
2.I changed my Configuration to Release.
3.I went under Configuration Properties | C/C++ | Code Generation
4.Look at the Runtime Library setting. It is set to this: Multi-threaded DLL (/MD)
Change it to this: Multi-threaded (/MT)
5.Rebuild.

Debug

Almost exactly the same as release.
1.In Visual Studio, I went to the project Properties.
2.I changed my Configuration to Debug.
3.I went under Configuration Properties | C/C++ | Code Generation
4.Look at the Runtime Library setting. It is set to this: Multi-threaded Debug DLL (/MDd)
Change it to this: Multi-threaded Debug (/MTd)
5.Rebuild the debug

It might be a good idea for me to figure out how to change the project so when I create a new project of this type, those settings are the default.

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images