Solved

Executable created on VS C++ 2010 complaints about missing libs

Posted on 2011-09-11
1
287 Views
Last Modified: 2012-05-12
Greetings,
until now I was developing some applications using VC++ 6, as they were originally written there. My clients were able to just get the executable and run it. When I moved to Visual studio 2010 they got error messages complaining about missing library files. What do they have to install in order to be able to run an executable built on VS 2010 ?
0
Comment
Question by:rjorge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
tampnic earned 500 total points
ID: 36522110
Do they have the latest versions of the Microsoft CRT. Download and install from http://www.microsoft.com/download/en/details.aspx?id=5555

These are the libraries for the C run time. You might also check how you link to the CRT in your project options.
Project Properties page
If you use "Multi-threaded DLL" then they will require the CRT download as your project will dynamically link to the CRT. With "Multi-threaded" your code will link statically to the CRT and they should not need the download. The CRT is periodically updated/fixed so the DLL option is probably preferable to allow updates from Microsoft without recompiling your code.

Cheers,
  Chris
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question