Hallo Christian,
The new TeXnicCenter (2.0 and upwards) can be found in the registry almost as easy as the old one. You only need to change two lines. See below for the updated LocateTeXnicCenter() function.
All the best from Saarbruecken,
Tino Weinkauf.
File: InverseSearchOptionsPage.cpp
bool
LocateTeXnicCenter (/[out]/ PathName & tc)
{
PathName path;
if (! ReadPath(HKEY_LOCAL_MACHINE, L"SOFTWARE\ToolsCenter\TeXnicCenterNT", L"AppPath", path))
{
return (false);
}
path += "TeXnicCenter.exe";;
if (! File::Exists(path))
{
return (false);
}
tc = path;
return (true);
}
Thank you for the patch. I have applied it.