473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

VC++ 6 ___ EXE file runs fine on one computer but not the other

I created a simple MFC program using VC++ 6. It generates EXE file
and runs
fine on one of my computer which has the C++ compiler installed. But
when
I copy the EXE program to the other computer that has NOT compilter
installed, the
program does not run --- it asks for several DLL files !!!
Does any body int his forum kind enough to point me to right direction?
Is it something the the VC++ compiler that I have to change to fix
that problem?

Thanks in advance
JIMMY

Jan 7 '06 #1
4 2301
<ji************@yahoo.com>:
I created a simple MFC program using VC++ 6. It generates EXE file and runs
fine on one of my computer which has the C++ compiler installed. But when
I copy the EXE program to the other computer that has NOT compilter installed, the
program does not run --- it asks for several DLL files !!!
Does any body int his forum kind enough to point me to right direction?
Is it something the the VC++ compiler that I have to change to fix
that problem?


Hi Jimmy,

since this is a compiler specific problem you should ask in one of the microsoft groups
(microsoft.public.vc.language, microsoft.public.vc.mfc).

(Hint: I guess you built the debug version of your program, which depends on the
debug versions of the MFC and runtime DLLs. Just build the "release" version,
which should run on any Windows computer since the "release" versions of the needed
DLLs are distributed with the OS).

Cheers
Maett
Jan 7 '06 #2
ji************@yahoo.com wrote:
I created a simple MFC program using VC++ 6. It generates EXE file
and runs
fine on


Build in release mode. The debug versions of the libraries are not
present on machines without visual stduio.
Jan 9 '06 #3
Hi Maett,

I am very new to MFC programming. Could you tell me how
you would select the "release version" from the compiler?

Please advise,

Thanks
JIMMY
Maett wrote:
<ji************@yahoo.com>:
I created a simple MFC program using VC++ 6. It generates EXE file and runs
fine on one of my computer which has the C++ compiler installed. But when
I copy the EXE program to the other computer that has NOT compilter installed, the
program does not run --- it asks for several DLL files !!!
Does any body int his forum kind enough to point me to right direction?
Is it something the the VC++ compiler that I have to change to fix
that problem?


Hi Jimmy,

since this is a compiler specific problem you should ask in one of the microsoft groups
(microsoft.public.vc.language, microsoft.public.vc.mfc).

(Hint: I guess you built the debug version of your program, which depends on the
debug versions of the MFC and runtime DLLs. Just build the "release" version,
which should run on any Windows computer since the "release" versions of the needed
DLLs are distributed with the OS).

Cheers
Maett


Jan 9 '06 #4
Jimmy wrote:
I am very new to MFC programming. Could you tell me how
you would select the "release version" from the compiler?


Hi Jimmy,

in the Visual6 IDE choose "Build->Set Active Configuration"
and then "<Your Application Name> - Win32 Release".
Of if you activate the "Build Toolbar" (Tools->Customize
->Toolbars:Build) you can select "Win32 Debug" or
"Win32 Release" from the toolbar.
Then just "Rebuild All".

Maett
Jan 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: BlackHawke | last post by:
My name is Nick Soutter, I own a small game development company (www.aepoxgames.net) making our first game (www.andromedaonline.net) in java. I am writing because we are having a very...
2
by: sb | last post by:
Hello. I have three files in a VC++6 project - a header file called Schedule.h, an implementation class called Schedule.cpp and a test class with main called TestSchedule1.cpp. It compiles fine in...
5
by: Craig | last post by:
I started this week recomipling all our projects under vc++7 which is ok by me. most of it worked fine and what the compiler spat out was quickly fixed without too much bother. Then came a...
3
by: Binary | last post by:
VC++ .NET 2003: Access violation with /O2 compiler switch; no AV with /O Hi I'm in the process of narrowing down a problem, and I have reduced the code involved to the following If someone could...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
10
by: strife | last post by:
Hey everyone, I was making a program for a class, and I ran into a problem that is driving me crazy. I first suspected Vista, and since I am not home I cannot verify if it just my Vista...
10
by: =?Utf-8?B?cm1jb21wdXRl?= | last post by:
I have Windows 2000 and recently included Internet Information Services. I then created a simple ASP file and clicked on it. The Open With dialog appears asking me to select a program. I copied...
7
by: mark | last post by:
I am writing a program that will be placed in the startup folder so that on login it executes, it also needs to delete itself so it creates a batch file which cleans up. After that it restarts the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.