Solved

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

Posted on 2011-09-11
1
288 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

696 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