Funduc Software
Using HexWorkshop & Search & Replace
[Funduc Home]

  
SPECIAL NOTE:
The below information regarding registry switches is somewhat outdated. Search and Replace 4.1+ has a Binary Editor field in Options|General that allows you to specify the command line for your hex viewer/editor directly within Search and Repalce. 


Search and Replace v 3.2+ has two places where an external editor of your choice can be used. Separate settings are possible for text and binary files. Please see the program F1 hlp for more information.

Presented here is information on using BreakPoint Software's Hex Workshop in lieu of our own Hexview when viewing the search context of a binary file.

Caution: The information below involves modifying the Windows Registry. An error may result in your computer becoming non-functional &/or requiring you to reinstall your operating system. Do not proceed unless you are familiar with making modifications to the Windows Registry!

To enable Hex Workshop (ver 3.02+) as the external hex viewer/editor:

1. Download and unzip SR_External_Editors.zip. This zip contains information and some .reg files, including suggestions for Hex Workshop. We suggest you unzip into the same path as sr32.exe, so you have the file for later reference.

2. Exit Search and Replace if it is running.

3. If your installation of Hex Workshop 3.02+ is installed in the path 
  C:\Program Files\BreakPoint Software\Hex Workshop 3.0
HexWorkshop.reg can be merged as is. Do this by highlighting HexWorkshop.reg in Windows Explorer, right click with the mouse, and select Merge. 

4. If your installation of Hex Workshop is something other than 
  C:\Program Files\BreakPoint Software\Hex Workshop 3.0
edit HexWorkshop.reg with your text editor and make an adjustment to the path specified on the last line of HexWorkshop.reg. That line reads (no word wrap):
  "Binary Editor"="C:\\Program Files\\BreakPoint Software\\Hex Workshop
  3.0\\hworks32.exe \"%path%\" /GOTO:%start% /SELECT:%length%"
Be sure to use \\ characters in the path specification to your installation of hworks32.exe. After you have finished the edit, merge the .reg file as in step 3 above.

5. Restart Search and Replace.

To disable Hex Workshop as the external hex viewer/editor:

Use Regedit and delete the string added by the above. This is 'Binary Editor' under
HKEY_CURRENT_USER\Software\Funduc Software Inc.\SR32\Flags

To use another external hex viewer/editor:

Consult the documentation for your editor and use the information in HexWorkshop.reg as a model for your software. Search and Replace can pass the following information:
  %path% - full file path to the file
  %start% - offset of first found character
  %end% - offset of last found character
  %length% - length of found string


[Back] [Home]
© 1995-2024 Funduc Software. All rights reserved.
http://www.funduc.com
http://www.searchandreplace.com
Send comments to webmaster@funduc.com