Finally, I'm in the stage where my changes are fully working. There's one important thing left to do before they will be usable. I would like to know where should I place

bool useKchmviewer = false;

if (system("which kchmviewer > /dev/null") == 0)
{
    // "which kchmviewer" exit code 0
    useKchmviewer = true;
}


in the program codebase so I can check for variable useKchmviewer from wherever I want, specifically VirtualBox-5.0.6/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp and VBoxGlobal.cpp. How can I do this?

Reply via email to