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
 Feature Requests
 refactor: rename resource symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - Nov 09 2010 :  12:28:00 PM  Show Profile  Reply with Quote
currently, if I try to rename a resource symbol that is defined in a #included resource.h of a resource DLL project, VAX fails to locate & rename the actual definition of the symbol in its .rc file.

// MyProj.cpp
#include "resources.h"
LoadString(IDS_ASTRING);

// MyResProj
// resources.h
#define IDS_ASTRING 99

// MyResProj
// English.rc
STRINGTABLE 
BEGIN
IDS_ASTRING "This is a string in a resource project"
END

VAX will try to rename IDS_ASTRING in MyProj.cpp, resources.h, but fail to notice English.rc.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 09 2010 :  2:17:29 PM  Show Profile  Reply with Quote
We are considering doing this at some point:

case=18366

Edited by - accord on Nov 09 2010 2:19:39 PM
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