Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now