Re: What 's the difference between win32 app and MFC

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello!!

You wrote the following
A Win32 Windows application can be written entirely in the Win32 API, or
it can use MFC.

I just wonder is it possible to mix both use win32 API and MFC in a win32
application am I right?
Or do you have to chose either of these two alternatives?


//Tony


"David Wilkinson" <no-reply@xxxxxxxxxxxx> skrev i meddelandet
news:eQjPyPy1FHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> Tony Johansson wrote:
>
>> Hello!
>>
>> I just wonder what the difference is between a native win32-app and MFC.
>>
>> What I know is that you can use Win32 API in both cases.
>>
>> I think an MFC application is connected with a GUI which a win32 is not.
>> You may correct me if I'm wrong on this point.
>>
>> //Tony
>>
>
> Tony:
>
> A Win32 application can either be a Console Application (no GUI) or a
> Windows application (GUI).
>
> A Win32 console application runs in a command window and typically does
> not use MFC, because most of MFC is GUI-related. A carefully written
> console application will compile and run on other systems (e.g. linux
> using the gcc compiler).
>
> A Win32 Windows application can be written entirely in the Win32 API, or
> it can use MFC. If you want to see how to write Windows applications
> without MFC (and without any wizards) look at the book "Programming
> Windows 95" by Charles Petzold.
>
> HTH,
>
> David Wilkinson


.



Relevant Pages

  • Re: From Console to WIn32 App
    ... You can make Windows GUI programs with any compiler/IDE. ... optionally other vendor proprietary libraries (like MFC, ... You need Win32 programming tutorial. ... Windows programs using Win32 API directly. ...
    (microsoft.public.vc.language)
  • 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: Win32 versus MFC for 3D Programming?
    ... I know enough Win32 now to create a window and start ... available in Win32 GDI or MFC. ... I see myself as needing to learn windows programming as the first ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Win32? MFC? .NET? What to use for embedded dev?
    ... recommend some good current Windows C++ programming books (for Win32, MFC ...
    (microsoft.public.windowsxp.embedded)
  • Re: Win32 versus MFC for 3D Programming?
    ... Well, if you know assembler and learned C++, acronyms ... learn win32 you are ready for any company. ... > the programming world that is quickly going the way of the T-rex. ... > MFC are huge windows application development platforms. ...
    (microsoft.public.win32.programmer.directx.graphics)