Re: how get a single .exe out of Visual C++ 2005 Beta



"David Gareau" <test@xxxxxxxxxxx> wrote:

>Hey, I am currently ONLY working with Console Applications. I have the code
>and run it fine in a console (ms-dos) window, but I want to save my program
>as a single .exe file so I can send it to friends. How can I do that?
>How do people make "programs" that I download on the Internet out of their
>code?

If your program uses MFC, you can choose the "Use MFC in a static
library" option. In VC6 that's at Project|Settings, "General" tab.

For console apps, you may be very well be able to not use MFC at all.
Most of its utility has to do with gettig around the routine drudgery
associated with GUI applications. Console apps (which are *not* DOS
apps, and cannot run on a DOS machine) are quite easy to write without
it.

--
Tim Slattery
MS MVP(DTS)
Slattery_T@xxxxxxx
.



Relevant Pages

  • Re: ShowWindow
    ... I have used subsets of MFC in console apps, but I've had to deal with some ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: how get a single .exe out of Visual C++ 2005 Beta
    ... I am currently ONLY working with Console Applications. ... > If your program uses MFC, you can choose the "Use MFC in a static ... > For console apps, you may be very well be able to not use MFC at all. ... Console apps (which are *not* DOS ...
    (microsoft.public.vc.ide_general)
  • Solution for terminal input problem
    ... this thread is for programmers who like console applications ... (I mean all ncurses based or slang based which use cursor movement). ...
    (comp.unix.programmer)
  • Re: ShowWindow
    ... But console apps won't by default have a proper message pump and thats why ... you can use MFC in console applications quite easily (sorry Joe ...
    (microsoft.public.vc.mfc)
  • Re: Timer for program (non graphic)
    ... When I need an application to be monitored by a Human Being showing status, progress, mission critical situations, etc, etc, then I'll use a Console Application for that purpose. ... But you can do the same with an Console Appliaction as far as a machine restart, with O/S or 3rd party solutions utilities. ... I have used Service and Console applications to do many things. ... Both of the solutions have the power to produce powerful .NET applications, no doubt about it from my view point, with both being trucks to transport that paino. ...
    (microsoft.public.dotnet.languages.vb)