Solved

How to add MFC dlls to my app?

Posted on 2000-02-20
4
147 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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 explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now