David Ching replied to Leo
28-May-10 02:51 PM
You actually have two pretty good choices. You can either static link the
CRT/MFC libs into your .exe so that that is all you need to distribute.
Edit your project properties by right clicking on the project in the
Solution Explorer window and select Properties. In the General tab, choose
to statically link MFC.
The other option is to use an "app-local" deployment of the CRT and MFC
DLL's which you put into either the same folder, or a sub-folder of, your
.exe. The DLL's you need to redistribute are in the e.g. c:\program
files\microsoft visual studio 2008\vc\redist folder. You need the proper
platform (e.g. x86, etc.) and the CRT and MFC (if it is an MFC app.)
-- David