Solved

How to add MFC dlls to my app?

Posted on 2000-02-20
4
188 Views
Last Modified: 2013-11-20
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!!!!
0
Comment
Question by:duke_n
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
cdesigner earned 10 total points
ID: 2540134
use static link you appication
in progect settings
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2540294
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
 
LVL 1

Author Comment

by:duke_n
ID: 2543090
Oh.
I played with it and found it yesterday evening.
THe file inflated X10!!!!
:-)
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2543286
> 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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

759 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