CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2001
    Location
    USA
    Posts
    298

    MFC with VS Express

    I have a dialog based MFC application (factory automation) that needs to be run in debug on the target machine, but the Express version of VS 2010 doesn't support that. Before I ask IT to buy another VS license, is there any way to install the missing components on the target without a full install?

    Also, is there something in a VC++ project that would tell me if it's an MFC application?

    Thanks.

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: MFC with VS Express

    MFC is a part of VS Pro or higher. It's not a standalone package, and cannot be installed in addition.

    AFAIK, an outdated MFC4.2 (this is what VS6.0 included) was added by MS to Platform SDK a few years ago. But the version is really, really outdated, it's of 1998!

    _AFXxxx symbol defined in .vcxproj is to indicate the projects is MFC dependant.
    Code:
                <Tool
                    Name="VCResourceCompilerTool"
                    PreprocessorDefinitions="_AFXDLL;NDEBUG;_UNICODE"
                    Culture="3081"
                />
    Best regards,
    Igor

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: MFC with VS Express

    Best regards,
    Igor

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

    Re: MFC with VS Express

    Why not use VS 2015 Community if the licence allows? This is free and has MFC.

    See https://www.visualstudio.com/downloa...sual-studio-vs
    Last edited by 2kaud; April 22nd, 2016 at 09:29 AM.
    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++23 Compiler: Microsoft VS2022 (17.6.5)

  5. #5
    Join Date
    Jun 2001
    Location
    USA
    Posts
    298

    Re: MFC with VS Express

    Quote Originally Posted by 2kaud View Post
    Why not use VS 2015 Community if the licence allows? This is free and has MFC.

    See https://www.visualstudio.com/downloa...sual-studio-vs
    VS 2010 is the (current) company standard, we were hoping to be able to transport the project between development and production without dealing with version differences. The plan now is to temporarily install VS 2010 on the target machine and remove it when the project is running.

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

    Re: MFC with VS Express

    VS 2010 is the (current) company standard
    Then IMO I suggest that the company standard is updated to VS 2015. VS 2010 is 6 years old, is 3 versions out of date and there have been major changes to VS and c++ since then.
    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++23 Compiler: Microsoft VS2022 (17.6.5)

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured