Build Settings in Visual C++ 2005 Express Edition
Hi, folks.
I have been using Visual C++ version 6 for a number of years to write small console programs. I had set all settings and never played with them since. This past weekend, I installed Visual C++ 2005 Express Edition, and hope to use it for all future programming.
One question I have:
Unless my memory is playing tricks on me, I believe that one setting was a build option by which you specify whether you want a complete build or a partial build. The partial build would assume the executable was running on a computer with required libraries present. The complete build would assume the executable was running on an independent machine without access to other resources—-the executable contains EVERYTHING required for successful operation. I post my executables on my website for download by users, so I want the executable to be a complete, self-contained program; I cannot make assumptions about what a user may already have on their computer. So my two questions are:
1) Is there, indeed, such an option for building the executable?
2) If so, where do I find this option? I looked through Tools>Options and did not notice anything that sounded like it would provide this kind of functionality.
Thanks for any advice,
David
Bill SPosted Jun 14, 2007, 3:51 PM
I think what you are refferring to is the "use mfc as a dll" or "statically liknked" option.
It is in more than one place in the project options dialogs.
The best way to get it correctly set is to watch carefully as you start a new c++ project.
One of the options in the wizard is whether to statially link the runtime, or use it as a dll.
HTH