Replace All across project files

Environment: VC6 SP3, NT4 SP5
This is MS Visual Studio add-in to find and replace texts across project files (if any loaded). (Project files == files enumerated in project's .dsp file. They appear in workspace's FileView.)
It is based on MS sample project ReplAll. It enhances the sample functionality - possibility to find and replace across open files. It uses standard "Find & Replace" dialog (from VStudio).
Project file enumerating functionality is fully copied from Joshua C.Jansen's Workspace Utilities (there are only some minor changes - char -> TCHAR, Exclude and Special Added files aren't used).
The result of the work of this add-in is the set of a changed files - the files opened before add-in run (and not saved) are closed.
Downloads
Download source - 28 KbDownload addin DLL - 26 Kb

Comments
Crashes in Release / Wrong Message Mapping
Posted by Legacy on 08/16/2003 12:00amOriginally posted by: Beutler
There is an awesome error which leads into a crash in release mode, when picking one of the predefined regExp-terms.
MFC Message handlers must be declared regarding the message map macro, e.g. for
ON_COMMAND(ID_XY, xy)
xy must be defined as void xy(void), not void xy(WPARAM, LPARAM).
Painfully, in debug mode everything is going richt.
However, nice macro.
ReplyWorks for all open, not for project
Posted by Legacy on 06/25/2003 12:00amOriginally posted by: Bill Turner
Even with .psw and souce files in same dir, and with sourece files open; no change when 'project files' checked.
ReplyCrashes
Posted by Legacy on 07/28/2002 12:00amOriginally posted by: dEUs
Hi,
Your Addin killed my VS ... I searched for PaintFigur(CDC *pDC, int nFieldSize) and wanted to replace it with PaintFigur(CDC *pDC, CBitmap *bmpFiguren, int nFieldSize)
Greets,
ReplydEUs
Works perfect
Posted by Legacy on 06/19/2002 12:00amOriginally posted by: Marco Eugster
This tool works perfect. Also with multiple projects in the workspace.
ReplyA Class Hierarchy Visualization Tool
Posted by Legacy on 05/28/2001 12:00amOriginally posted by: Steven Zee
DocBuilder satisfies a basic need of an object oriented software developer - it lets you see the class hierarchy of your C++ projects. DocBuilder quickly generates a complete printable hierarchy of your classes, including classes from third party libraries,that's not all,DocBuilder can also generates html files from the class information,please visit http://www.ucancode.net for more information about docbuilder
ReplyDoesn't work with more than one project in the workspace
Posted by Legacy on 12/13/2000 12:00amOriginally posted by: Alexander Keck
Looks nice, but doesn't work here.
I have a workspace with about 20 projects inside.
ReplyThe thing I want to replace occures 313 times. (checked with find in files).
This tool returns without any delay and does nothing.
Since the folder where the .dsw file is located is empty (except for the subdirs for the projects and the .dsw file) it can't find anything...
Don't work in NT4.0 when not in Admin mode : Bug Fix
Posted by Legacy on 08/24/2000 12:00amOriginally posted by: Feneck
ReplyNice but...
Posted by Legacy on 01/09/2000 12:00amOriginally posted by: Kot Begemot
This is a neat tool, however I'd love it much more if it has an option to skip a particular change, just like the default "Replace" does.
Thanks for sharing.
Reply