also @ TechSpot: Intel says Haswell will improve battery life by 50 percent

How can I integrate WDK-7 and Visual Studio 2008

Discussion in 'Device Drivers' started by CuriousSparrow, Jan 25, 2013.

Post New Reply
  1. CuriousSparrow Newcomer, in training

    Hi,
    I am working on windows-7 64-bit machine, I have WDK-7 and Visual Studio-2008.
    To create work space I have reffered following link
    http://www.codeproject.com/Articles/31865/How-to-Configure-Visual-Studio-2008-for-Compiling
    I have used sample code of above site

    #include "ntddk.h"

    NTSTATUS
    DriverEntry(PDRIVER_OBJECT DriverObject,PUNICODE_STRING
    RegistryPath)
    {
    return STATUS_UNSUCCESSFUL;
    }

    but I am unable to compile, I am getting the following following compilation errors...
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\excpt.h(60) : error C2143: syntax error : missing ')' before 'type'
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\ctype.h(101) : error C2085: '_C' : not in formal parameter list
    and Other compilation errors but for "excpt.h" and "ctype.h" files only.

    Please tell anybody...Is it compatability issue
    or "http://www.codeproject.com/Articles/31865/How-to-Configure-Visual-Studio-2008-for-Compiling" site is having incorrect information

    Thank you