Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Microsoft Visual C++5

Posted on 1999-07-24
1
Medium Priority
?
223 Views
Last Modified: 2013-12-14
I built a program that uses MFC, when running the .exe on another machine, it needed some DLLs. Isn't there a way to
"bundle" the exe and its needed DLLs, so I don't have to search for them manually ? Just copy them?
0
Comment
Question by:rasha
[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
1 Comment
 
LVL 6

Accepted Solution

by:
Triskelion earned 120 total points
ID: 1200966
It sounds as if you're acandidate for static link.
Project/Settings/[General Tab]/
Under Microsoft Foundation Classes, choose
"Use MFC in a static library"
Rebuild All.  Once you've done that, you won't need to copy the MS DLLs at all -- just the EXE.

If you really want to keep the DLLs or if you're using 3rd party DLLs, you will need to remember your dependencies (which DLLs are needed) and put them in some type of copy scheme -- either through a batch file or zip archive.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

664 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