Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Problem parsing include files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

WalderMort
New Member

7 Posts

Posted - Feb 14 2008 :  10:46:33 PM  Show Profile  Reply with Quote
I have configured VS2005 to use the windows driver kit ( vista version ), but VAX doesn't seem to be parsing the include files and highlighting the symbols.

VS is configured with the include directory "D:\\DDK\\6001.18000\\inc" and VAX shows the same, but the symbols are not highlighted.

In my stdafx.h the project includes are defined as:
#include <ntifs.h>

changing these to the full paths corrects the problem
#include "D:\\DDK\\6001.18000\\inc\\ntifs.h"

I also have to add this line:
#include "D:\\DDK\\6001.18000\\api\\ntdef.h"

So the question remains, why are the files not being found?

A point to note, VS is configured to use the WDK compiler so there are no build errors.

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Feb 15 2008 :  09:23:53 AM  Show Profile  Reply with Quote
With the include line:

#include <ntifs.h>

if you place the caret into the file name what does VA show in its context and definition fields? If you press alt-g what happens?

I suspect VA does not know where this file lives.

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.

zen is the art of being at one with the two'ness
Go to Top of Page

WalderMort
New Member

7 Posts

Posted - Feb 15 2008 :  8:17:58 PM  Show Profile  Reply with Quote
Your suspicions are correct. I found the cause of the problem.
The DDK's include directory doesn't contain any files, but it does contain a further 7 directories where the headers reside. Partly my fault, but VS should be configured to scan all 7 directories rather than just the base.
Perhaps in a future release VA could be modified to also scan the sub-directories.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Feb 15 2008 :  8:41:58 PM  Show Profile  Reply with Quote
It depends how you are configuring VA and the IDE. VA knows that everything underneath its stable include directories is also a stable symbol, so in a sense the entire directory tree is covered.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000