Building RoboHelp_CSH.cpp in Visual Studio 2005 generates multiple errors

(TechNote) When you attempt to build RoboHelp_CSH.cpp in Microsoft Visual Studio 2005, the following error messages are displayed:

RoboHelp_CSH.cpp
..\RoboHelp_CSH.cpp(163) : error C2440: ‘initializing’ : cannot convert from ‘const char *’ to ‘LPTSTR’
Conversion loses qualifiers
..\RoboHelp_CSH.cpp(526) : error C2440: ‘initializing’ : cannot convert from ‘const char *’ to ‘_TCHAR *’