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 .cpp fails
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Mar 11 2004 :  09:51:35 AM  Show Profile
using VAX 1219 and VS .NET 2003 i have a .h where VAX cannot open the corresponding .cpp file.

i have been moved over to working on our windows software, and have been dropped into the middle of a rather large looking project - so my descriptions may be a bit vague as i still working out what i am looking at.

when editing "mtQtPatient.h" i use either alt_o (which is bound to "open corresponding .h or .cpp" or the toolbar button and:

the resource view window pops out from the right hand side, it is set to auto hide.
the folder called "mtQtPatient.rc" is highlighted, inside the project (at a guess, it doesn't have a folder icon) mtQtPatient.

if i manually open the matching file "mtQtPatient.cpp" and use alt_o then VAX correctly finds and opens the .h file.

so far this is a one off problem that is 100% consistent. none of the other .h files i have tried this with (perhaps 10 in this set of projects) have this problem.

i have closed and re-opened VS, which had no effect.

the file locations are:
c:\\base\\widgets\\include\\mtQtPatient.h
c:\\base\\widgets\\src\\mtQtPatient.cpp

which is standard for this program, and hasn't caused VAX any problems anywhere else. both file are also in the same "Solution" in the "Solution Explorer"

zen is the art of being at one with the two'ness

Edited by - feline on Mar 11 2004 09:56:27 AM

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Mar 16 2004 :  07:31:06 AM  Show Profile
i have just found a second instance of this problem, and i think i know the trigger.

while looking at the file:
c:\\base\\widgets\\include\\mtQtIcons.h

alt_o goes wrong, using both VAX 1219 and 1220

opening up "Open File in Workspace" and filtering this on "mtqticons." i see 4 items:

c:\\base\\widgets\\src\\mtQtIcons.cpp
c:\\base\\ResourceFiles\\mtQtIcons.h
c:\\base\\widgets\\include\\mtQtIcons.h
c:\\base\\ResourceFiles\\mtQtIcons.rc

VAX knows that i am editing "c:\\base\\widgets\\src\\mtQtIcons.cpp" since it puts this path in the definition field on the VAX helper bar. it is as if alt_o instead thinks i am editing "c:\\base\\ResourceFiles\\mtQtIcons.h"

mtQtPatient.h is slightly more complex, since "Open File in Workspace" lists 5 matching files. the first 4 follow the same pattern as with mtQtIcon, and there is an additional "mtQtPatient.xpm" file.

in both cases, if i open the .cpp file then alt_o opens the correct .h file. so this confusion over the "resource" files only seems to work one way

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