dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: [RESOLVED] Im new and a beginner - MFC library are required

  1. #1
    Join Date
    Oct 2019
    Posts
    4

    [RESOLVED] Im new and a beginner - MFC library are required

    Hi,

    I am a new C++ beginner, but I have been coding for 10+ years in VB 6, VB.net, and Pascal (the past 2 years)

    I have installed Visual Studio 2019 community
    when I create a new C++ project, it compiles completely fine

    but if I open an older vs C++ app I get the following error
    MFC libraries are required for this project. Install them from the Visual Studio installer (Individual Components tab) for any toolsets and architectures being used.

    When I went to do this, there is a huge list of MSC options to choose from.

    Which library am I wanting to install, and how to why no which library, this older solution uses?

  2. #2
    Join Date
    Oct 2019
    Posts
    4

    Re: Im new and a beginner - MFC library are required

    *MFC (not MSC)

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,543

    Re: Im new and a beginner - MFC library are required

    Have a look at this developercommunity:
    https://developercommunity.visualstu...t-mfc-app.html
    Victor Nijegorodov

  4. #4
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    6,900

    Re: Im new and a beginner - MFC library are required

    there is a huge list of MFC options to choose from.
    For my VS2019 install, I have only one MFC option - C++ MFC for latest v142 build tools (x86 & x64)

    What list of MFC options do you get?

    older vs C++ app
    What version of VS was this created under?
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2019 (16.3.9)

  5. #5
    Join Date
    Oct 2019
    Posts
    4

    Re: Im new and a beginner - MFC library are required

    See image.
    The solution i am trying is VS 8.
    Its actually an example solution from a Report library.

    Name:  vscpp1.jpg
Views: 32
Size:  46.8 KB
    Last edited by pixelink; October 24th, 2019 at 02:10 PM.

  6. #6
    Arjay's Avatar
    Arjay is online now Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,146

    Re: Im new and a beginner - MFC library are required

    Install the MFC redist packages for the earlier MFC versions (these are downloaded separately and aren't a part of the 2019 VS Installer).

  7. #7
    Join Date
    Oct 2019
    Posts
    4

    Re: Im new and a beginner - MFC library are required

    Got it... it was.. C++ MFC for latest v142 build tools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)