win 8 compilation

hi All,

How can I compile a windows (user space) application, that also uses win8DDK?

I have a simple win32 MFC based application, that uses IOCTL from my file system driver to show properties etc.

The code compiled properly with DDK7.
Now I have win8, DDK8 and VS2012.
I am getting a lot of redefinition errors.

like,

1> StdAfx.cpp
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(137): warning C4005: ‘MAX_NATURAL_ALIGNMENT’ : macro redefinition
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\winnt.h(117) : see previous definition of ‘MAX_NATURAL_ALIGNMENT’
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(161): warning C4005: ‘PROBE_ALIGNMENT’ : macro redefinition
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\winnt.h(141) : see previous definition of ‘PROBE_ALIGNMENT’
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(632): error C2011: ‘_PROCESSOR_NUMBER’ : ‘struct’ type redefinition
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\winnt.h(507) : see declaration of ‘_PROCESSOR_NUMBER’
.
.
.
.
.
.