Solved

How to add MFC dlls to my app?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
deburging in oracle form 12 98
Whole sheet autoscrub still needed 19 50
string initialization in java 11 113
Use of condition with 'serial' in ansible 2 58
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 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

10 Experts available now in Live!

Get 1:1 Help Now