|
-
May 31st, 1999, 09:13 AM
#1
how can I build a stabdalone executable, one that does not need dll files
I have visual c++ 5.0 professional edition and vc++ 6.0 standard edition. When I compile and
distribute a program, it doesn't work on other people's computer without a million dll files.
Is there any way of building a standalong executable, one that does not require any dll files.
Any response any one can give me will be greatly appreciated.
-
May 31st, 1999, 11:20 AM
#2
Re: how can I build a stabdalone executable, one that does not need dll files
Use static MFC libraries instead of shared dlls which is the default setting.
But this will result in increasing size the of ur application 10 times of original.
-
May 31st, 1999, 05:37 PM
#3
Re: how can I build a stabdalone executable, one that does not need dll files
Consider an installer for distributing your programs. Install Shield's new releases are very user friendly. They have a version called Install Shield Express which automatically detects and packs the needed DLLs into the installer. A free version is included with VC++ 5.0 Pro, but it is more difficult to use. WinZip Self-Extractor could be another alternative, although I'm not familiar with its operation. Assuming you're using MFC, anyone running '95 or better should already have an appropriate MFC42.DLL installed (I'm not absolutely sure of this, some early releases of '95 may fail). You could also simply distribute the DLLs with the .exe, giving the user instructions on copying them to their WINDOWS\SYSTEM directory.
-
May 31st, 1999, 08:35 PM
#4
Re: how can I build a stabdalone executable, one that does not need dll files
One of the problems you may be experiencing is compiling a debug version.
When you send your applications to others, you want to compile a release version.
A release Version uses different, more standard, dll's(and runs faster).
To compile a release version, choose configuration(?) under the build menu.
~G²
-
June 1st, 1999, 03:55 AM
#5
Re: how can I build a stabdalone executable, one that does not need dll files
Use the MFC as a static linked library.
You can do this by changing your Project settings.
Just choose Project/Settings in the Menu an switch the ComboBox in the General section.
But your .exe is goint to be a lot bigger
ÖÖÖÖÖ@OOOOOOOOOO00000000ooooooooooo°°°°°.... . . . . . . . . . .
-
June 1st, 1999, 06:37 PM
#6
Re: how can I build a stabdalone executable, one that does not need dll files
Is this a feature not available for Standard Edition VC++ 6.0? The combo box in Project Settings that I am looking at has only one option.
-
June 2nd, 1999, 02:07 AM
#7
Re: how can I build a stabdalone executable, one that does not need dll files
Sorry.
This feature is only avaliable in the professional and the enterprise edition.
ÖÖÖÖÖ@OOOOOOOOOO00000000ooooooooooo°°°°°.... . . . . . . . . . .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|