Solved

How to add MFC dlls to my app?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

16 Experts available now in Live!

Get 1:1 Help Now