Menu

Ntstatus.h

2006-10-04
2012-09-26
  • Nobody/Anonymous

    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

     
    • Wayne Keen

      Wayne Keen - 2006-10-04

      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

       
    • Wayne Keen

      Wayne Keen - 2006-10-04

      Your Basic 3 would be a good place to start.

      Wayne

       
    • Wayne Keen

      Wayne Keen - 2006-10-04

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.