HIDCleint source code

I run the HIDClient project in VS2008 Pro Edition but it didn't build successfully the error message:fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory.
I searched everywhere and do a steps for some configuration and build the solution but still I got the same error.
I also follow the steps for building the application in this discussion http://www.keil.com/forum/12727/hid-client-example/ but still the same error i've encountered. Anyone knows how to figure out this error? Please share it to me.
Thanks.

Parents
  • afxwin.h is a MFC (Microsoft Foundation Class) header.
    It should be located in this folder.
    C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include

    If you can't find above folder, MFC option was not chosen on VS2008 Pro installation. Run the installer again for additional installation of MFC.

    OR

    Keil HIDClient project is made on VS2005
    When you drag in HIDClient.vcproj to VS2008 IDE, auto-convert dialog appears. You've canceled this conversion. And then, the include path was not corrected.

    Tsuneo

Reply
  • afxwin.h is a MFC (Microsoft Foundation Class) header.
    It should be located in this folder.
    C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include

    If you can't find above folder, MFC option was not chosen on VS2008 Pro installation. Run the installer again for additional installation of MFC.

    OR

    Keil HIDClient project is made on VS2005
    When you drag in HIDClient.vcproj to VS2008 IDE, auto-convert dialog appears. You've canceled this conversion. And then, the include path was not corrected.

    Tsuneo

Children
More questions in this forum