Hi Alex,
> I developed an mfc based application. Now, I need to create setup for
> this application. Now, I need to finde what are all the supporting
[quoted text clipped - 8 lines]
>
> How to find the support dlls/libs for an mfc application?
You are using VC++ 2005 right? The web is full with answers, google is your
friend.
http://www.google.de/search?sourceid=navclient&aq=t&hl=de&ie=UTF-8&rlz=1T4GGLJ_d
eDE209DE209&q=VC%2b%2b+redistributable
In short: your executable will have a manifest which describes which c++
libraries are needed. MFC and the VC++ runtime starting with version 8 (VC++
2005) are installed as side by side dlls in the WinSxS directory (available
with WinXP and above). The loader will not accept a runtime dll loaded from
a different directory when such a manifest is found. Therefore copying the
dlls into the exe directory is not sufficient anymore.
So you either need to use vcredist_x86.exe or the msm files if you build an
msi for your apps setup. Be carefull: if you applied VS 2005 SP1 your
executables will reference the SP1 runtime version so you will need to use
the updates vcredist or msm files.
--
SvenC
David Wilkinson - 14 Sep 2007 20:53 GMT
> In short: your executable will have a manifest which describes which c++
> libraries are needed. MFC and the VC++ runtime starting with version 8
[quoted text clipped - 8 lines]
> executables will reference the SP1 runtime version so you will need to
> use the updates vcredist or msm files.
Or you could use static linking.
To the OP: This is not the right group for MFC questions.

Signature
David Wilkinson
Visual C++ MVP
Brian Muth - 15 Sep 2007 05:13 GMT
> Or you could use static linking.
which is even easier and reliable.