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
 Open Corresponding file not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

steve_dercks
Junior Member

USA
17 Posts

Posted - Feb 10 2009 :  09:18:22 AM  Show Profile  Reply with Quote
The open corresponding file isn't always working for me. I have a user library with source in one directory and includes in another. For example D:\\SDEV\\LORAMINC and D:\\SDEV\\LORAMSRC. The files aren't part of the project, but the directories are listed in the options/directories. The files have the same name except for the extension. Both of these directories appear in VA C/C++ directories lists as stable include and source. If I have the .cpp file open, I can switch to the header, but not the other way. I have tried rebuilding without luck. What am I doing wrong?

VA_X.dll file version 10.5.1711.0 built 2008.12.11
Licensed to:
VA X: [email protected] (1-user license) Support ends 2009.12.19
MSDev.exe version 6.0.9782.1
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.81.4968.2500
Windows 2000 5.0 Build 2195 Service Pack 4
Single processor

Platform: Custom
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\Include;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
C:\\Program Files\\Common Files\\System\\ado;

Other Includes:
D:\\SDEV\\LORAMINC;
D:\\SDEV\\NLREG;
C:\\Poet61\\inc;
D:\\SDEV\\loramincPoet;
D:\\SDEV\\Mcl\\Include;
C:\\ProEssentials5\\VC;

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;
D:\\SDEV\\LORAMSRC;

by the way, it's VC6 and when it is parsing is seems to be accessing the source directory.

Edited by - steve_dercks on Feb 10 2009 12:33:12 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 10 2009 :  6:29:15 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=23847
Go to Top of Page

steve_dercks
Junior Member

USA
17 Posts

Posted - Feb 11 2009 :  07:49:04 AM  Show Profile  Reply with Quote
I don't know if this is another symptom of the same problem or another problem, but the 'Find References' doesn't find anything in the source directory either. It only finds references in the project.
This is a pain if you are looking for a class reference. You can't find which classes derive from a common base for example.
Makes using a separate repository more difficult.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 11 2009 :  11:20:14 AM  Show Profile  Reply with Quote
This is by design - Find References only searches files that are listed in the projects of the solution/workspace.

An option here is to create a project that doesn't build anything (or is excluded via build rules) and add it to your workspace. In that project, add the library header and source files. Then Find References will work as you expect.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 30 2009 :  08:48:25 AM  Show Profile  Reply with Quote
case=23847 is fixed in build 1721

Whole Tomato Software, Inc.
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