Link to home
Start Free TrialLog in
Avatar of duke_n
duke_n

asked on

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!!!!
ASKER CERTIFIED SOLUTION
Avatar of cdesigner
cdesigner
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mikeblas
mikeblas

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
Avatar of duke_n

ASKER

Oh.
I played with it and found it yesterday evening.
THe file inflated X10!!!!
:-)
> 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