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
 unrecognized header include
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Michal Puczynski
Ketchup Master

Poland
85 Posts

Posted - Sep 22 2011 :  04:59:51 AM  Show Profile  Reply with Quote
Hi,

When you have a header with:

> head1.h
#define MYINCLUDE "myinclude.h"
< head1.h

and a source:
> source.cpp
#include "head1.h"
#include MYINCLUDE
...

VA is not giving suggestions from the include and is not recognizing any written code using definitions in "myinclude.h"

Edited by - Michal Puczynski on Sep 22 2011 05:00:35 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 22 2011 :  12:03:23 PM  Show Profile  Reply with Quote
It seems that VA is having a hard time interpreting your include directive because of the macro.
- Is myinclude.h added to a project in your current solution file? Doing so should help.
- Alternatively, ticking "if Solution is not empty" checkbox in VA Options -> Projects -> File Handling should also help a little bit. It makes VA parse myinclude.h when you open a file from the directory where myinclude.h resides. So if myinclude.h and the file which includes it are in the same directory, this can be a solution or workaround.
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