Frhed is always released with sources. Sources are not (anymore) in the same
binary package. Sources are in own package, named Frhed-version-src.zip
.
Links to latest releases are in
Frhed homepage. Direct link to SourceForge.net downloads: Frhed downloads.
The latest codes are available from Frhed Subversion repository. Instructions for accessing Frhed Subversion repository can be fround here. In short, checkout from url https://frhed.svn.sourceforge.net/svnroot/frhed/trunk.
Visual Studio c++ 2008 Express Edition is a free compiler available from http://www.microsoft.com/Express/. You don't need to buy commercial Visual Studio edition for compiling Frhed.
Platform SDK (PSDK) or Windows SDK is needed for compiling.
htmlhelp
library to show HTML help files in help viewer.
The HtmlHelp library is available as a part of HTML Help Workshop and as
part of Platform SDK (PSDK).
For VS 6 it is recommended to install HTML Help Workshop. It can be downloaded
from Microsoft:
HTML Help Workshop. After installing HTML Help Workshop you must add its
include
and lib
-folders to Visual Studio settings as
additional include- and library-file folders.
The sources contain solution and project files for Visual Studio 6. But later Visual Studio versions convert those files to new format.
Frhed consist of three projects:
Frhed
project uses heksedit
editor component.heksedit
project uses rawio32
project.To compile Frhed:
FRHED.dsw
solution file to Visual Studiofrhed
project as a startup projectRebuild all
to compile
When the VC6 project file (.dsp) or VS2003 project file (.vcproj) is converted to a Visual Studio 2005 or 2008 project, the visual styles do not get enabled. The problem is Visual Studio 2005 and 2008 automatically generate and embed a manifest file for the executable, but that generated manifest file does not include all needed properties to enable visual styles. The solution is to add WinMerge's manifest file as an additional manifest.
From project properties, set
Manifest Tool / Input and Output / Additional Manifest Files
-property value to:
$(InputDir)\res\Frhed.exe.manifest
More general form of:
$(InputDir)\res\$(TargetFileName).manifest
should work too but currently it does not for some reason.
There is a Python script Tools/fix_manifest.py
which
does the conversion. Note that the script re-formats the project file XML
structure when saving so do not generate patches without first opening and
saving the project file with Visual Studio.
See also Manifests in VS2005-- What are they? -thread in Microsoft forum.