Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Problems compiling project in Visual C++ studio

Problems compiling project in Visual C++ studio

Scheduled Pinned Locked Moved Managed C++/CLI
c++helpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tokorie
    wrote on last edited by
    #1

    I recently downloaded Visual C++ Studio and when I try to compile my project, I get error messages such as these below. I made sure to follow the instructions on setting the VC++ Directories option but I still keep getting errors such as this one c:\Pam 2\Headers\afxwin.h(19) : fatal error C1083: Cannot open include file: 'AFX.h': No such file or directory and the problem is that most of these include files happen to be in the Windows Platform SDK / Include/MFC folder. How do I get my the compiler to look in there for these files please.

    C 1 Reply Last reply
    0
    • T Tokorie

      I recently downloaded Visual C++ Studio and when I try to compile my project, I get error messages such as these below. I made sure to follow the instructions on setting the VC++ Directories option but I still keep getting errors such as this one c:\Pam 2\Headers\afxwin.h(19) : fatal error C1083: Cannot open include file: 'AFX.h': No such file or directory and the problem is that most of these include files happen to be in the Windows Platform SDK / Include/MFC folder. How do I get my the compiler to look in there for these files please.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      First of all, you're in the wrong forum. You set the paths in the options for VC2005.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      U 1 Reply Last reply
      0
      • C Christian Graus

        First of all, you're in the wrong forum. You set the paths in the options for VC2005.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        U Offline
        U Offline
        uusheikh
        wrote on last edited by
        #3

        You have downloaded Visual C++ Studio? I think it is VC++ Express edition, which does not support MFC. (Afx.h). You need to retail version to do MFC programming. The express edition only supports Managed c++.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups