How to add MFC dlls to my app?

I didn't choose this option during the appwizard and I don't want to install the DLLs separately. I browsed Project-Options and Tools->configure menus for some trick (like linker option to include the dlls in my output exe), but I didn't find it.

HELP!!!!
LVL 1
duke_nAsked:
Who is Participating?
 
cdesignerConnect With a Mentor Commented:
use static link you appication
in progect settings
0
 
mikeblasCommented:
Here's a much clearer answer:

1) Load your project
2) Use the "Settings..." command in the "Project" menu
3) In the resulting "Project Settings" dialog, select "All Configurations" in the "Settings For" dropdown.
4) Activate the "General" tab
5) Select "Using MFC in a Static Library" in the "Microsoft Foundation Classes:" dropdown
6) Press "OK"

If you only want to change the MFC link model for some of your projects configurations, select each specific configuration in step two, and repeat steps three through five.

..B ekiM
0
 
duke_nAuthor Commented:
Oh.
I played with it and found it yesterday evening.
THe file inflated X10!!!!
:-)
0
 
mikeblasCommented:
> THe file inflated X10!!!!

Sounds like you're comparing debug builds, which is a rather meaningless comparison.  Besides, file size usually isn't as important as workingset size.

..B ekiM
0
All Courses

From novice to tech pro — start learning today.