Solved

run without DLLs (Visual C++)

Posted on 2002-04-26
6
118 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
[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
  • 2
6 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6972016
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
ID: 6972094
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
ID: 6972103
VinExpert,

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

Expert Comment

by:VinExpert
ID: 6972454
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

726 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