Re: Getting Started w/ Standard C++ in Microsoft VC++ 6.0?

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

From: Lisa Pearlson (no_at_spam.plz)
Date: 01/05/05


Date: Wed, 5 Jan 2005 21:11:55 +0100

What is your motivation to move away from MFC?
Do you plan to write wrapper classes better than MFC does?

You used MFC, now you wish to move to Win32 API. What's next, moving to
Assembler?
Or is it a compatibility, size or speed issue?

Lisa

"Bill Hoy" <bhoy@eaw.com> wrote in message news:41DC0AB5.8923FF67@eaw.com...
> Hi,
>
> This probably isn't the right newsgroup for this, but maybe someone here
> has done this before.
>
> I have a few years of experience using MFC and Microsoft Visual C++
> 6.0. As my company gets further into the software business they now
> want to start moving away from MFC, and use pure Standard C++. I have a
> code project created in Microsoft Visual C++ that needs MFC stripped out
> of it. Not a huge project - only about 10 or so files.
>
> I've been reading a bit about Standard C++, and I was wondering if
> anyone could point me to some documents or help as to how to start using
> Standard C++ from within Microsoft Visual C++ 6.0. For starters, I
> realize all my "CStrings" will have to become "string" File by file I
> will have to remove CStrings, makes sense.
>
> I understand about using the #include <xyz>. And I see that I will have
> to use: "using namespace std" But I am not sure what else I have to set
> up in the Microsoft Developer Studio. Perhaps I have to start a new
> project/workspace that is just a W32 Application? What do I need to
> link to in the Project Settings > Link tab? What else do I need to do
> to so that it recognizes the namespace "std" ?
>
> I realize this is probably a very basic question, but I am confused as
> to where to start. Anything to get me started will help.
>
> Thanks,
> Bill
>
> bhoy@eaw.com
>
>



Relevant Pages

  • Re: Problem executing
    ... The MFC app wizard is a tool that makes it possible to create programs ... Have you consfused a wizard with "Project settings"? ... You are confused about a configuration and a command line, ...
    (microsoft.public.vc.mfc)
  • Re: Link Error, LNK2005
    ... Current Project Settings are: ... Configuration Type:Dynamic Library- This project will be compiled ... Use of MFC:Use MFC in a Static Library ... >> in LIBCMT.lib; second definition ignored ...
    (microsoft.public.vc.atl)
  • CCriticalSection Ambiguous Symbol
    ... Mine is an ActiveX Ctrl in MFC with project settings as ... Use of MFC as as a ststic library and Not using ATL. ... The project compiles fine under 'DEBUG' ... For multithreading i am using CSingleLock hence i need to include ...
    (microsoft.public.vc.mfc)
  • Re: Class wizard not generating stdafx.h
    ... myself to the Windows API and MFC. ... I started on MFC with this tutorial ... The project settings and file names are pretty standardized in MFC, but that only happens if you use the File, New application wizard to start the project. ... If you can find a copy of 'Programming Windows with MFC' by Prosise it will help you a lot. ...
    (microsoft.public.vc.language)
  • Re: Getting Started w/ Standard C++ in Microsoft VC++ 6.0?
    ... As far as the windows part of the program goes when you move away from MFC ... The first thing is to is to get rid of MFC from your project settings, ... to regular API class. ...
    (microsoft.public.vc.mfc)