WDK Unknown bug?

closed account (G309216C)
Hi,

Normally I program Drivers for Windows using command-line:
1
2
cd [Project Location]
build


this tends to always work!

Now to move on I tried VS2012 WDK support, but when I compile simple Hello World Driver:
1
2
3
4
5
6
7
8
9
10
11
12
#include "ntddk.h"
// This is our unload function
VOID OnUnload( IN PDRIVER_OBJECT DriverObject )
{
 DbgPrint("ONLOADING");
}
NTSTATUS DriverEntry(IN PDRIVER_OBJECT theDriverObject,
 IN PUNICODE_STRING theRegistryPath)
{
 DbgPrint("LOADED");
 theDriverObject->DriverUnload = OnUnload;
 return STATUS_SUCCESS;}


It shows a error:

Error	1	error : (WppCreateFile)Cannot open file trace.h, error 2	C:\MyDriver\Ring0\Ring0\wpp	Ring0


I really do not understand what is the error I chosen "Kernel Mode Driver, Empty" project type
I am building the code in the Driver not the package.
Why is the code above messing up. Can someone suggest me why and tell me a solution any help will be appreciated.
Thanks in Advance
Topic archived. No new replies allowed.