This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HID_Client1 - having compilation problem.

Hello,

Trying to compile the HID_Client1 (at the utilities folder) project using the studio 2008. It wouldnt pass as some h files seem to miss. Is it because it should run on VC++6 ?

Any idea?

Thanks
Aqua

Parents
  • Free WinDDK is downloaded from this MS link.
    "DDK - Windows Driver Development Kit" on MS WHDC
    www.microsoft.com/.../default.mspx

    On this page, find this link.
    "Download the Windows Server 2003 SP1 DDK [236 MB ISO file]"
    download.microsoft.com/.../1830_usa_ddk.iso

    You have to burn it to CD-R for the WinDDK installer, (or mount the ISO image directly using utility).

    After installation, the header files are here.
    C:\WINDDK\3790.1830\inc\w2k [wxp, wnet]

    Select one, according to the target OS version.
    Also add hid.lib and setupapi.lib in this folder to the linker setting.
    C:\WINDDK\3790.1830\lib\w2k [wxp, wnet]

    As of VC6,
    I'm afraid that the recent WinDDK doesn't match to VC6.
    WinDDK has introduced so many change all over to the essential header files, like WinBase.h, referred in the HID headers. These change introduce many conflicts to the original VC6 headers.

    Visit this site for the book, "USB Design by Example" from Intel Press.
    www.intel.com/.../download.htm

    You'll find excerpts for HID headers from Win2k DDK on the Intel Press site.
    www.intel.com/.../FromDDK.htm

    These header files fit to VC6 well.

    Tsuneo

Reply
  • Free WinDDK is downloaded from this MS link.
    "DDK - Windows Driver Development Kit" on MS WHDC
    www.microsoft.com/.../default.mspx

    On this page, find this link.
    "Download the Windows Server 2003 SP1 DDK [236 MB ISO file]"
    download.microsoft.com/.../1830_usa_ddk.iso

    You have to burn it to CD-R for the WinDDK installer, (or mount the ISO image directly using utility).

    After installation, the header files are here.
    C:\WINDDK\3790.1830\inc\w2k [wxp, wnet]

    Select one, according to the target OS version.
    Also add hid.lib and setupapi.lib in this folder to the linker setting.
    C:\WINDDK\3790.1830\lib\w2k [wxp, wnet]

    As of VC6,
    I'm afraid that the recent WinDDK doesn't match to VC6.
    WinDDK has introduced so many change all over to the essential header files, like WinBase.h, referred in the HID headers. These change introduce many conflicts to the original VC6 headers.

    Visit this site for the book, "USB Design by Example" from Intel Press.
    www.intel.com/.../download.htm

    You'll find excerpts for HID headers from Win2k DDK on the Intel Press site.
    www.intel.com/.../FromDDK.htm

    These header files fit to VC6 well.

    Tsuneo

Children
No data