Solved

run without DLLs (Visual C++)

Posted on 2002-04-26
6
113 Views
Last Modified: 2013-11-20
I want to my program runs independent (without DLLs).
How can I set options to compile it?
thanks
0
Comment
Question by:ndhai
  • 2
  • 2
6 Comments
 
LVL 32

Expert Comment

by:jhance
Comment Utility
What DLLs?  Some DLLs are expected to be present on ANY valid Windows platform and will always be required.

Please specify.  If you mean MFC DLLs, then use the Project Settings>General  and the Use MFC in a Static Library option to statically like the MFC runtime to your application.  But even if you do this, SOME DLLs will still be loaded at run time.
0
 
LVL 8

Expert Comment

by:VinExpert
Comment Utility
Hi,

Go to Project->Settings and specify as "Static linking" instead of Dynamic Linking for the MFC dlls. That should solve ur prob.

Try it out.
VinExpert
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
Comment Utility
VinExpert,

Do you just go around and copy comments given by others?
0
 
LVL 8

Expert Comment

by:VinExpert
Comment Utility
Hi jhance,

I am sorry. I just wrote it..... I just forgot to read the prev comments. Anyway, thats not the new one to go around and find answer and copy it here.

VinExpert
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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ā€¦
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

771 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