TechSpot

How can I integrate WDK-7 and Visual Studio 2008

  1. 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
     

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...