Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 'Rename' don't work for 'class ABCLIB CABCClass'

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
flyingxu Posted - Nov 26 2006 : 8:31:07 PM
'Rename' don't work for 'class ABCLIB CABCClass'
while #define ABCLIB _declspec(dllexport)

the .h file is renamed, but the .cpp file.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 28 2006 : 11:21:53 AM
using VC6 and VA 1541 I still cannot reproduce this. Can you try the following code and see what you get. I have added:

#define FIND_REF_TEST_DLL_EXPORT _declspec(dllexport)

class FIND_REF_TEST_DLL_EXPORT testFindRefExportedClass
{
    // test - Find References on this function finds 2 references
    void CppFileTest();
};


to the header file and:

void testFindRefExportedClass::CppFileTest()	{ }

to the cpp file. When I trigger Find References or rename on the class name in the header file I always get 2 references.
flyingxu Posted - Nov 27 2006 : 11:00:19 PM
Sorry I didn't make myself clear.

I'm using VC6 with VA10.3.1540
both the .h and .cpp files part of the solution

I wanted to Rename the class name by double click the class name in the .h file on the line of 'class ABCLIB CABCClass', then I click the triangle to rename it.
feline Posted - Nov 27 2006 : 08:10:37 AM
which IDE and version of VA are you using?
using VS2005 and VA 1541 I cannot reproduce this problem.

are both the .h and .cpp files part of the solution?
what exactly are you triggering rename on? The class name? The constructor? something else?

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