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
 Suggestions from non-project files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

beylevem
Tomato Guru

102 Posts

Posted - Nov 12 2007 :  2:15:55 PM  Show Profile  Reply with Quote
I am getting suggestions from a file that not part of my project, but is in the same directory as the dsp/dsw files for the project. If I accept the suggestion, and then hit goto on the symbol, VA opens the file which is not part of the project.

VA_X.dll file version 10.4.1616.0 built 2007.11.08
MSDev.exe version 6.0.9782.1
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Bitstream Vera Sans Mono 13(Pixels)
Comctl32.dll version 5.82.6000.16386
Windows Vista 6.0 Build 6000
2 processors

Platform: Win32 (x86)
Stable Includes:
C:\\w\\vs6\\DF98\\CXML\\Include;
C:\\w\\vs6\\DF98\\IMSL\\Include;
C:\\w\\vs6\\DF98\\Include;
C:\\w\\vs6\\VC98\\INCLUDE;
C:\\w\\vs6\\VC98\\MFC\\INCLUDE;
C:\\w\\vs6\\VC98\\ATL\\INCLUDE;
c:\\w\\vs6;

Other Includes:

Stable Source Directories:
C:\\w\\vs6\\VC98\\MFC\\SRC;
C:\\w\\vs6\\VC98\\MFC\\INCLUDE;
C:\\w\\vs6\\VC98\\ATL\\INCLUDE;
C:\\w\\vs6\\VC98\\CRT\\SRC;

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 12 2007 :  3:29:05 PM  Show Profile  Reply with Quote
If you have opened a file in the IDE then VA will parse and remember the contents of the file, even if it is not part of your project.

Does this sound like what you are seeing?

One reason for this behaviour is that VA cannot rely on all files you are using actually being a part of your project. This mainly applies to header files, which are sometimes referenced but not added to the project.

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

beylevem
Tomato Guru

102 Posts

Posted - Nov 12 2007 :  6:47:18 PM  Show Profile  Reply with Quote
No, the file was not opn in the IDE (it probably was at some point in the past - does that count?)
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 12 2007 :  7:58:53 PM  Show Profile  Reply with Quote
Yes, it does.

Close your solution.
Press the "Clear" button on the performance page of the VA options dialog.
That should make VA forget about the non-solution files.
No restart necessary.
Go to Top of Page

beylevem
Tomato Guru

102 Posts

Posted - Nov 12 2007 :  9:45:54 PM  Show Profile  Reply with Quote
Still happens. Which directories should I check to see if the clear worked?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 12 2007 :  11:47:39 PM  Show Profile  Reply with Quote
C:\\Users\\<USERNAME>\\AppData\\Local\\VisualAssist\\vc6\\cache

The next step would be the "Rebuild" button on the same Performance page. But a restart is required after that.

Go to Top of Page

beylevem
Tomato Guru

102 Posts

Posted - Nov 13 2007 :  08:31:12 AM  Show Profile  Reply with Quote
Still happens. The cache directory is clear, but there is a proj_nnnn directory that still contains the definitions in Db1Ds.db.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 13 2007 :  11:43:01 AM  Show Profile  Reply with Quote
Ahh - it made it into the solution db. Either use the "Rebuild" button or delete just the proj_nnnn dir (rebuild requires restart, deleting the proj_* dir should be done after the solution has been closed).
Go to Top of Page

beylevem
Tomato Guru

102 Posts

Posted - Nov 13 2007 :  3:24:33 PM  Show Profile  Reply with Quote
I toasted the directory and loaded the project. It rebuilt the directory, and promptly parsed the extraneous file into Db1Ds.db. I triple checked - the file is not mentioned in the dsp/project file. Would you like an upload of the project directory? :-)
Go to Top of Page

beylevem
Tomato Guru

102 Posts

Posted - Nov 13 2007 :  3:28:23 PM  Show Profile  Reply with Quote
but.... I found one of the header files that *was* including the file. Sorry for wasting your time...
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 13 2007 :  3:33:18 PM  Show Profile  Reply with Quote
Is the file listed in the OFIW dialog?

Is the file a header or source file?

Does it have the same name as a file that IS in the project?

If it is a header, does any file in the project include it?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 13 2007 :  3:33:51 PM  Show Profile  Reply with Quote
whoops - cross-posted...
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