I\'ve recently got the source-code on a application. When im trying to build the solution, I get an error in all parts where winnt.h
is included. The error code
You need to include windows.h
rather than winnt.h
. When you include windows.h
it will, in turn, include winnt.h
. You need to do it this way for the necessary macros to be in place that are needed to compile winnt.h
.
In this case, POINTER_64
is defined in BaseTsd.h
like this:
#define POINTER_64 __ptr64
But if you include winnt.h
before including windows.h
then POINTER_64
is not defined.