Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Problems with same name as a stable symbol

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
andre.horst Posted - May 19 2009 : 05:16:37 AM
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.
7   L A T E S T    R E P L I E S    (Newest First)
andre.horst Posted - May 28 2009 : 05:14:47 AM
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.
accord Posted - May 26 2009 : 5:06:20 PM
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?
feline Posted - May 25 2009 : 11:43:10 AM
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.
andre.horst Posted - May 25 2009 : 03:41:13 AM
As requested i sent you the settings of VAX, but i am actually using VS6 and there is no export for the IDE settings.
accord Posted - May 21 2009 : 03:03:16 AM
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.
andre.horst Posted - May 20 2009 : 02:30:32 AM
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;

accord Posted - May 19 2009 : 4:38:46 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000