T O P I C R E V I E W |
steve_dercks |
Posted - Feb 10 2009 : 09:18:22 AM 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. |
4 L A T E S T R E P L I E S (Newest First) |
support |
Posted - Mar 30 2009 : 08:48:25 AM case=23847 is fixed in build 1721 |
sean |
Posted - Feb 11 2009 : 11:20:14 AM 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. |
steve_dercks |
Posted - Feb 11 2009 : 07:49:04 AM 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. |
accord |
Posted - Feb 10 2009 : 6:29:15 PM I am seeing the same effect here. Thank you for the clear description.
case=23847 |