Re: Help with VC6.0 Basic Concept!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for the reply.
I have another question.
Can I use MFC in Console App? Or Can I use MFC without UI?
"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp>
??????:OealnPQEHHA.4280@xxxxxxxxxxxxxxxxxxxxxxx
Lazytiger wrote:
Hello everyone,
I am new to VC,and I don't quit understand the defferences in project
types in vc6.0, especially MFC AppWizard, Win32 Application, Win32
Console Application, Win32 Dynamic-Link Libray, MFC AppWizard and Win32
Static Libary,Thanks very much!

A console application is the simplest type. It has a text-only user
interface that appears in a black window (the "console") and accepts typed
commands, like a DOS program. Best for learning C or C++ without having
to know much about Windows and windows. If you are new to the C or C++
language start here, to learn the language first.

A "Win32 Application" means an application that will display windows and
be coded to use the raw Win32 API's. These are usually in C because the
API is C.

The "MFC AppWizard" choice will offer you several styles of windowed
application frameworks that use the MFC library, which uses C++. With
these program starting points you will get a complete windowed program
that has a lot of functionality before you even write your first line of
code. MFC gives you more to learn, but you get a more modern and
productive tool set.

Static libraries and DLLs are for writing just part of a program,
especially useful in a programming team environment. You can think of
them as add-ins or add-ons.

--
Scott McPhillips [VC++ MVP]



.



Relevant Pages

  • Re: Help with text adventure
    ... You can also just write a console app with printf and getline, ... Is there a way to make a Win32 console application? ... Since you don't want or need MFC, ... windowing process of Windows, like it was behind any Windows program. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: linux to windows porting help
    ... Presently i am working on win32 console applications. ... PostThreadMessage - for Message queue between process and its ... donn have any windows handle so unable to use these functions... ...
    (comp.programming)
  • Re: linux to windows porting help
    ... Presently i am working on win32 console applications. ... PostThreadMessage - for Message queue between process and its ... donn have any windows handle so unable to use these functions... ...
    (comp.programming)
  • Re: Change project type in VC6
    ... If you have a win32 windows application, it receives windows messages that have to be handled to respond to certain events to open and close files for example, or respond to button clicks. ... the idea behind most console applications is completely different: you start a console application with certain command line options, and then let the program do what it has to do and finish. ... ofcourse because the project type is wrong, its looking for a WinMain entry point during linking - and failing. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: ShowWindow
    ... I'll switch to using a Windows ... I was heading down a dark road trying to fool MFC but since dialogs worked ... from the console application I thought I'd try to use DisplayFile. ... calling a windowing subroutine from a console app makes even ...
    (microsoft.public.vc.mfc)