I am using Dev C++ to write a windows application. I included windows.h which works well; however when i include <ntstatus.h>, i get a build error stating that no such directory exists?
Any idea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my installation at which I am currently sitting - the header ntstatus.h is in the ddk directory underneath the include directory.
Being senile and all - I do not remember if that is installed by default or came in which one of my devpaks. (So you may not have it).
Generally, when I get an error telling me a header is not found, the first step I do next is to do a windows search on my Dev directory to see if it is there. So you may want to check if you have it on your machine.
That all being said, if I do something like
include <ddk/ntstatus>
the header is found.
Keep in mind, including the header is only one part of the operation. You will probably also need to make sure the appropriate library is also linked.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Before uou ask, the "Basic 3" are covered in the thread that you posted directly over (strongly suggesting that you did not look at the forum at all before posting your question) - titled "Please Read Before Posting a Question"
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Dev C++ to write a windows application. I included windows.h which works well; however when i include <ntstatus.h>, i get a build error stating that no such directory exists?
Any idea
In my installation at which I am currently sitting - the header ntstatus.h is in the ddk directory underneath the include directory.
Being senile and all - I do not remember if that is installed by default or came in which one of my devpaks. (So you may not have it).
Generally, when I get an error telling me a header is not found, the first step I do next is to do a windows search on my Dev directory to see if it is there. So you may want to check if you have it on your machine.
That all being said, if I do something like
include <ddk/ntstatus>
the header is found.
Keep in mind, including the header is only one part of the operation. You will probably also need to make sure the appropriate library is also linked.
Wayne
Your Basic 3 would be a good place to start.
Wayne
Before uou ask, the "Basic 3" are covered in the thread that you posted directly over (strongly suggesting that you did not look at the forum at all before posting your question) - titled "Please Read Before Posting a Question"
Wayne