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
 Unable to 'goto' forward references
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mike6900
Junior Member

13 Posts

Posted - Aug 04 2005 :  1:30:01 PM  Show Profile
unable to 'goto' forward referenced types defined in .h file in Visual Studio 6.0:

...
typedef MenuSubItem_Settings_Speaker_SubItem_t;
typedef MenuSubItem_Settings_AutoAccept_SubItem_t;
typedef MenuSubItem_Settings_Block_SubItem_t;
...

VA_X.dll file version 10.1.1418.0 built 2005.06.24
Licensed to:
VA X:
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -16(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
2 processors


feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 06 2005 :  3:29:19 PM  Show Profile
that looks a little odd to me. i have never used typedef to declare a forward reference before, so i have guessed at what you are doing.

using VC6 and VAX 1418 i have placed these forward references before the class in the .h file. then at the end of the class, inside the class i added the code:

typedef int MenuSubItem_Settings_AutoAccept_SubItem_t;
MenuSubItem_Settings_AutoAccept_SubItem_t fred;

when i then use alt_g (VAX's goto command) with the caret inside MenuSubItem_Settings_AutoAccept_SubItem_t i am taken to the forward declaration line at the top of the header, which makes sense.

how close is this to what you are seeing and experiencing?

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