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
 Problems with same name as a stable symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 19 2009 :  05:16:37 AM  Show Profile  Reply with Quote
VS6, C++, WinXP SP2, VAX 1724

Try the following code

class CGetObject
{
public:
	virtual void GetObject( void ) ;
} ;

void CGetObject::GetObject( void )
{
}


You cannot "Go" to the GetObject method or "Document" the method, cause VAX recognizes it as a stable symbol from a windows include. I see this behavior for this symbol, but i am sure there are several others. Maybe VAX should be a bit smarter by identifying the context of the symbol, so i guess it is a bug.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 19 2009 :  4:38:46 PM  Show Profile  Reply with Quote
I wasn't able to reproduce the problem here. Can you please try to create a clean new win32 test project to see if you can reproduce the problem there?

Also, can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.
Go to Top of Page

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 20 2009 :  02:30:32 AM  Show Profile  Reply with Quote
Ok, in a new DSW and DSP it works better, but the coloring is still wrong and i can only "go" to the implementation and i cannot "Document" the method. The wrong coloring indicates that VAX identified this symbol not as a method (it is also a macro in wingdi.h).

VA_X.dll file version 10.5.1724.0 built 2009.05.01
Licensed to:
VA X: XXXXXX Support ends 2009.12.31
MSDev.exe version 6.0.9782.1
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2982
Windows XP 5.1 Build 2600 S
2 processors (x86)

Platform: Win32 (x86)
Stable Includes:
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;

Other Includes:

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;

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 21 2009 :  03:03:16 AM  Show Profile  Reply with Quote
I was able to use document method:

class CGetObject
{
public:
	//************************************
	// Method:    GetObject
	// FullName:  CGetObject::GetObject
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: void
	//************************************
	virtual void GetObject( void ) ;
} ;

//************************************
// Method:    GetObject
// FullName:  CGetObject::GetObject
// Access:    virtual public 
// Returns:   void
// Qualifier:
// Parameter: void
//************************************
void CGetObject::GetObject( void )
{
}

on both GetObject(). Also it is colored as a function for me. Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

So I can import them here to try to reproduce the problem.

Edited by - accord on May 21 2009 03:03:43 AM
Go to Top of Page

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 25 2009 :  03:41:13 AM  Show Profile  Reply with Quote
As requested i sent you the settings of VAX, but i am actually using VS6 and there is no export for the IDE settings.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 25 2009 :  11:43:10 AM  Show Profile  Reply with Quote
If you use regedit to export the key:

HKEY_CURRENT_USER\\Software\\Microsoft\\DevStudio\\6.0\
and everything underneath it, this should give us your VC6 settings.

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

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 26 2009 :  5:06:20 PM  Show Profile  Reply with Quote
I've found the cause: you have turned off limited macro parsing:

http://docs.wholetomato.com?W363

and unfortunately recursive macro parsing has this side effect. I've put in a bug report for this:

case=27449

Turning off this option solved the problem for me: alt+g on GetObject works in both directions again. Do you need this option to be turned on?

Edited by - accord on May 26 2009 5:11:01 PM
Go to Top of Page

andre.horst
Tomato Guru

Germany
150 Posts

Posted - May 28 2009 :  05:14:47 AM  Show Profile  Reply with Quote
I turned this option on cause it helps to solve several problems with macros that uses macros that uses macros... The problem with the stable symbols is not really important so i leave the option enabled.
The next time i have problems i'll check the option before i send a bug report.
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